Re: Boot failure on Arndale with next-20131105

From: Stephen Rothwell
Date: Fri Nov 08 2013 - 03:45:32 EST


Hi Jens,

On Tue, 05 Nov 2013 14:25:00 -0700 Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> On 11/05/2013 10:38 AM, Stephen Warren wrote:
> > I note that compiling next-20131105 generates quite a few warnings re:
> > uninitialized variables. Reverting the commit doesn't solve those.
> >
> >> block/blk-merge.c: In function âblk_bio_map_sgâ:
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_lenâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:233:23: note: âbvprv.bv_lenâ was declared here
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_offsetâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:233:23: note: âbvprv.bv_offsetâ was declared here
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_pageâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:233:23: note: âbvprv.bv_pageâ was declared here
> >> block/blk-merge.c: In function âblk_rq_map_sgâ:
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_pageâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:171:23: note: âbvprv.bv_pageâ was declared here
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_offsetâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:171:23: note: âbvprv.bv_offsetâ was declared here
> >> block/blk-merge.c:133:8: warning: âbvprv.bv_lenâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:171:23: note: âbvprv.bv_lenâ was declared here
> >> block/blk-merge.c: In function âattempt_mergeâ:
> >> block/blk-merge.c:108:7: warning: âend_bv.bv_offsetâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:89:17: note: âend_bv.bv_offsetâ was declared here
> >> block/blk-merge.c:108:7: warning: âend_bv.bv_pageâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:89:17: note: âend_bv.bv_pageâ was declared here
> >> block/blk-merge.c:108:7: warning: âend_bv.bv_lenâ may be used uninitialized in this function [-Wmaybe-uninitialized]
> >> block/blk-merge.c:89:17: note: âend_bv.bv_lenâ was declared here
>
> Looks like an incomplete merge. The patch to silence those warnings
> (which aren't bugs, BTW) is definitely in my for-next branch.

I am still getting those warnings in linux-next for various builds
(include 1386 defconfig). Any hints would be good.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature