Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-24 Thread Jens Axboe
On 10/24/2016 07:00 PM, Martin K. Petersen wrote: "Arnd" == Arnd Bergmann writes: Arnd> The blkdev_report_zones produces a harmless warning when Arnd> -Wmaybe-uninitialized is set, after gcc gets a little confused Arnd> about the multiple 'goto' here: Arnd> block/blk-zoned.c:

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-24 Thread Jens Axboe
On 10/24/2016 07:00 PM, Martin K. Petersen wrote: "Arnd" == Arnd Bergmann writes: Arnd> The blkdev_report_zones produces a harmless warning when Arnd> -Wmaybe-uninitialized is set, after gcc gets a little confused Arnd> about the multiple 'goto' here: Arnd> block/blk-zoned.c: In function

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-24 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The blkdev_report_zones produces a harmless warning when Arnd> -Wmaybe-uninitialized is set, after gcc gets a little confused Arnd> about the multiple 'goto' here: Arnd> block/blk-zoned.c: In function 'blkdev_report_zones': Arnd>

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-24 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The blkdev_report_zones produces a harmless warning when Arnd> -Wmaybe-uninitialized is set, after gcc gets a little confused Arnd> about the multiple 'goto' here: Arnd> block/blk-zoned.c: In function 'blkdev_report_zones': Arnd>

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-23 Thread Damien Le Moal
On 10/22/16 00:42, Arnd Bergmann wrote: > The blkdev_report_zones produces a harmless warning when > -Wmaybe-uninitialized is set, after gcc gets a little confused > about the multiple 'goto' here: > > block/blk-zoned.c: In function 'blkdev_report_zones': > block/blk-zoned.c:188:13: error: 'nz'

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-23 Thread Damien Le Moal
On 10/22/16 00:42, Arnd Bergmann wrote: > The blkdev_report_zones produces a harmless warning when > -Wmaybe-uninitialized is set, after gcc gets a little confused > about the multiple 'goto' here: > > block/blk-zoned.c: In function 'blkdev_report_zones': > block/blk-zoned.c:188:13: error: 'nz'

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Shaun Tancheff
On Fri, Oct 21, 2016 at 10:42 AM, Arnd Bergmann wrote: > The blkdev_report_zones produces a harmless warning when > -Wmaybe-uninitialized is set, after gcc gets a little confused > about the multiple 'goto' here: > > block/blk-zoned.c: In function 'blkdev_report_zones': >

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Shaun Tancheff
On Fri, Oct 21, 2016 at 10:42 AM, Arnd Bergmann wrote: > The blkdev_report_zones produces a harmless warning when > -Wmaybe-uninitialized is set, after gcc gets a little confused > about the multiple 'goto' here: > > block/blk-zoned.c: In function 'blkdev_report_zones': >

[PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Arnd Bergmann
The blkdev_report_zones produces a harmless warning when -Wmaybe-uninitialized is set, after gcc gets a little confused about the multiple 'goto' here: block/blk-zoned.c: In function 'blkdev_report_zones': block/blk-zoned.c:188:13: error: 'nz' may be used uninitialized in this function

[PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Arnd Bergmann
The blkdev_report_zones produces a harmless warning when -Wmaybe-uninitialized is set, after gcc gets a little confused about the multiple 'goto' here: block/blk-zoned.c: In function 'blkdev_report_zones': block/blk-zoned.c:188:13: error: 'nz' may be used uninitialized in this function