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

From: Dan Williams
Date: Wed Jun 09 2021 - 00:29:33 EST


On Tue, Jun 8, 2021 at 8:52 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the block tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> drivers/nvdimm/pmem.c: In function 'pmem_pagemap_cleanup':
> drivers/nvdimm/pmem.c:338:24: warning: unused variable 'q' [-Wunused-variable]
> 338 | struct request_queue *q =
> | ^
>

Ugh, I should have caught this... fix incoming.

> Introduced by commit
>
> 80b58f4e9f4a ("libnvdimm/pmem: Fix blk_cleanup_disk() usage")
>
> --
> Cheers,
> Stephen Rothwell