Re: [PATCH 2/2] mm: Initialize error in shmem_file_aio_read()

2014-04-13 Thread Al Viro
On Sun, Apr 13, 2014 at 08:46:22PM +0200, Geert Uytterhoeven wrote: > mm/shmem.c: In function ‘shmem_file_aio_read’: > mm/shmem.c:1414: warning: ‘error’ may be used uninitialized in this function > > If the loop is aborted during the first iteration by one of the two first > break statements, erro

[PATCH 2/2] mm: Initialize error in shmem_file_aio_read()

2014-04-13 Thread Geert Uytterhoeven
mm/shmem.c: In function ‘shmem_file_aio_read’: mm/shmem.c:1414: warning: ‘error’ may be used uninitialized in this function If the loop is aborted during the first iteration by one of the two first break statements, error will be uninitialized. Introduced by commit 6e58e79db8a16222b31fc8da1ca2ac2