Re: [U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized with gcc 4.2

2012-08-07 Thread Wolfgang Denk
Dear Tom Rini, In message <1344358714-14032-1-git-send-email-tr...@ti.com> you wrote: > The above warning was introduced originally in 436da3c "ext2load: > increase read speed" and fixed for newer toolchains in b803273 "ext2fs: > fix warning: 'blocknxt' may be used uninitialized". This change did

[U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized with gcc 4.2

2012-08-07 Thread Tom Rini
The above warning was introduced originally in 436da3c "ext2load: increase read speed" and fixed for newer toolchains in b803273 "ext2fs: fix warning: 'blocknxt' may be used uninitialized". This change did not fix the warning with gcc 4.2, as found in ELDK 4.2. If we rework the while loop to init

Re: [U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Andreas Bießmann
Dear Kim Philips, On 03.07.12 18:05, Kim Phillips wrote: > ext2fs.c: In function 'ext2fs_read_file': > ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this > function [-Wuninitialized] > > Cc: Jason Cooper > Signed-off-by: Kim Phillips > --- > is this right? > > fs/ext2/ext

[U-Boot] [PATCH] ext2fs: fix warning: 'blocknxt' may be used uninitialized

2012-07-03 Thread Kim Phillips
ext2fs.c: In function 'ext2fs_read_file': ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized] Cc: Jason Cooper Signed-off-by: Kim Phillips --- is this right? fs/ext2/ext2fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/e