[U-Boot] [PATCH v2] ext2fs: fix warning: 'blocknxt' may be used uninitialized
Thierry Reding
thierry.reding at avionic-design.de
Wed Jul 4 08:09:02 CEST 2012
On Tue, Jul 03, 2012 at 05:41:56PM -0500, Kim Phillips wrote:
> This warning was introduced in 436da3c "ext2load: increase read
> speed":
>
> ext2fs.c: In function 'ext2fs_read_file':
> ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized]
>
> this change makes it go away.
>
> Cc: Eric Nelson <eric.nelson at boundarydevices.com>
> Cc: Thierry Reding <thierry.reding at avionic-design.de>
> Cc: Jason Cooper <u-boot at lakedaemon.net>
> Cc: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Reinhard Arlt <reinhard.arlt at esd-electronics.com>
> Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
> ---
> v2: changed to Thierry's recommendation in:
>
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/134043
>
> build-tested only - please ack
Tested on TEC, seems to behave the same as before:
Tested-by: Thierry Reding <thierry.reding at avionic-design.de>
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120704/8ba15969/attachment.pgp>
More information about the U-Boot
mailing list