[U-Boot] [PATCH 2/9] fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Tom Rini trini at konsulko.com
Mon Jul 24 13:19:45 UTC 2017


On Thu, Jul 20, 2017 at 07:02:29PM +0200, Jean-Jacques Hiblot 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>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/48831a4e/attachment.sig>


More information about the U-Boot mailing list