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

Simon Glass sjg at chromium.org
Sat May 24 03:26:43 CEST 2014


On 17 April 2014 22:41, Masahiro Yamada <yamada.m at jp.panasonic.com> 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>

> ---
>
> Changes in v2:
>   - Drop the period at the end of the commit subject
>


More information about the U-Boot mailing list