[U-Boot] [U-Boot,1/3] fw_env: fix type of len

Joe Hershberger joe.hershberger at gmail.com
Thu Dec 20 06:47:54 CET 2012


Hi Tom,

On Wed, Dec 19, 2012 at 5:00 PM, Tom Rini <trini at ti.com> wrote:
> On Sat, Nov 10, 2012 at 07:47:45PM -0000, Mike Frysinger wrote:
>
>> This variable is assigned by a size_t, and is printed that way, but is
>> incorrectly declared as an int.  Which means we get warnings:
>> fw_env.c: In function 'fw_setenv':
>> fw_env.c:409:5: warning: format '%zu' expects argument of type 'size_t',
>>       but argument 3 has type 'int' [-Wformat]
>>
>> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
>> Acked-by: Joe Hershberger <joe.hershberger at ni.com>
>
> For the series, applied to u-boot/master, thanks!

I NACKed the third in this series.  Did you not see it?

-Joe


More information about the U-Boot mailing list