Re: [PATCH 10/28] UBI: fix uninitialized access of vid_hdr pointer

2016-10-17 Thread Boris Brezillon
Hi Arnd, On Tue, 18 Oct 2016 00:10:13 +0200 Arnd Bergmann wrote: > A rework of UBI that just appeared in linux-next during the merge > window introduced caused the recover_peb to use a variable that > is never initialized as seen from this gcc warning: > > drivers/mtd/ubi/eba.c: In function ‘re

[PATCH 10/28] UBI: fix uninitialized access of vid_hdr pointer

2016-10-17 Thread Arnd Bergmann
A rework of UBI that just appeared in linux-next during the merge window introduced caused the recover_peb to use a variable that is never initialized as seen from this gcc warning: drivers/mtd/ubi/eba.c: In function ‘recover_peb’: drivers/mtd/ubi/eba.c:744:40: error: ‘vid_hdr’ may be used uniniti