[U-Boot] [U-Boot, v6, 02/10] fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

Tom Rini trini at konsulko.com
Sat Oct 7 13:06:55 UTC 2017


On Fri, Sep 15, 2017 at 12:57:25PM +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>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171007/66786bd0/attachment.sig>


More information about the U-Boot mailing list