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

2 messages, 2 authors, 2021-06-09 · open the first message on its own page

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

From: Stephen Rothwell <hidden>
Date: 2021-06-09 03:52:44

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 =
      |                        ^

Introduced by commit

  80b58f4e9f4a ("libnvdimm/pmem: Fix blk_cleanup_disk() usage")

-- 
Cheers,
Stephen Rothwell

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

From: Dan Williams <hidden>
Date: 2021-06-09 04:29:33

On Tue, Jun 8, 2021 at 8:52 PM Stephen Rothwell [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help