Re: linux-next: build failure after merge of the block tree

From: Jens Axboe
Date: Wed May 04 2022 - 07:25:58 EST


On 5/3/22 7:40 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/block/xen-blkback/xenbus.c: In function 'xen_blkbk_discard':
> drivers/block/xen-blkback/xenbus.c:578:31: error: unused variable 'q' [-Werror=unused-variable]
> 578 | struct request_queue *q = bdev_get_queue(bdev);
> | ^
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> c899b2353386 ("xen-blkback: use bdev_discard_alignment")

Thanks, folded in the fix.

--
Jens Axboe