[U-Boot] [PATCH v3 2/9] fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()
Simon Glass
sjg at chromium.org
Sun Aug 6 05:16:50 UTC 2017
On 4 August 2017 at 11:00, Jean-Jacques Hiblot <jjhiblot at ti.com> wrote:
> Those 2 functions don't modify their input, we can mark it const.
> This prevents compilation warnings when they are provided const input.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> changes since v2: Added a comment describing the function locate_dtb_in_fit()
>
> common/boot_fit.c | 4 ++--
> include/boot_fit.h | 9 +++++++--
> 2 files changed, 9 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
nit: @return (lower case)
Also, what does it return if there is no matching blob?
More information about the U-Boot
mailing list