[U-Boot] [U-Boot, v2, 6/9] fdt_support: add 'const' qualifier for unchanged argument

Tom Rini trini at ti.com
Thu Jun 19 17:20:44 CEST 2014


On Fri, Apr 18, 2014 at 05:41:02PM +0900, Masahiro Yamada wrote:

> In the next commit, I will add a new function, fdt_pack_reg()
> which uses get_cells_len().
> 
> Beforehand, this commit adds 'const' qualifier to get_cells_len().
> Otherwise, a warning message will appear:
>  warning: passing argument 1 of 'get_cells_len' discards 'const'
>  qualifier from pointer target type [enabled by default]
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140619/54d66f27/attachment.pgp>


More information about the U-Boot mailing list