Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Sep 16, 2016 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Jens,

After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/block/nbd.c:884:2: error: unknown field 'map_queue' specified in initializer
.map_queue = blk_mq_map_queue,
^
/home/sfr/next/next/drivers/block/nbd.c:884:15: error: 'blk_mq_map_queue' undeclared here (not in a function)
.map_queue = blk_mq_map_queue,

               ^

Caused by commit

9151bcb4fb38 ("blk-mq: kill unused blk_mq_create_mq_map()")

interacting with commit

fd8383fd88a2 ("nbd: convert to blkmq")

also in the block tree.

I have used the block tree from next-20160915 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 14 lines · Stephen Rothwell

Hi Jens,

After merging the block tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

drivers/block/nbd.c:884:2: error: unknown field 'map_queue' specified in initializer
.map_queue = blk_mq_map_queue,
^
/home/sfr/next/next/drivers/block/nbd.c:884:15: error: 'blk_mq_map_queue' undeclared here (not in a function)
.map_queue = blk_mq_map_queue,

               ^

Caused by commit

Quoted 7 lines

9151bcb4fb38 ("blk-mq: kill unused blk_mq_create_mq_map()")

interacting with commit

fd8383fd88a2 ("nbd: convert to blkmq")

also in the block tree.

That's my fault, when merged together the nbd part needs an update. I've pushed out a fix for it.

Signature · 1 line
Jens Axboe