linux-next: build failure after merge of the block tree
Subsystems (3)
Hi all,
After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this:
In file included from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/module.h:12,
from block/bfq-iosched.c:116:
block/bfq-iosched.c: In function 'bfq_set_next_ioprio_data':
block/bfq-iosched.c:4980:5: error: implicit declaration of function 'bdi_dev_name'; did you mean 'blkg_dev_name'? [-Werror=implicit-function-declaration]
4980 | bdi_dev_name(bfqq->bfqd->queue->backing_dev_info),
| ^~~~~~~~~~~~Caused by commit
0f6438fca125 ("bdi: use bdi_dev_name() to get device name")
I have applied the following patch for today.
From: Stephen Rothwell <[email protected]>
Date: Fri, 8 May 2020 15:23:50 +1000
Subject: [PATCH] bdi: bdi_dev_name() needs backing-dev.h
Fixes 0f6438fca125 ("bdi: use bdi_dev_name() to get device name")
Signed-off-by Stephen Rothwell <[email protected]>
--- block/bfq-iosched.c | 1 + 1 file changed, 1 insertion(+)
block/bfq-iosched.c +1 -0
@@ -123,6 +123,7 @@#include <linux/ioprio.h> #include <linux/sbitmap.h> #include <linux/delay.h> +#include <linux/backing-dev.h> #include "blk.h" #include "blk-mq.h"
Signature · 5 lines
2.26.2 -- Cheers, Stephen Rothwell
Jens Axboe
maintainerQuoted 14 lines · Stephen Rothwell
Hi all,
After merging the block tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from
include/linux/kernel.h:15,from include/linux/list.h:9, from include/linux/module.h:12, from block/bfq-iosched.c:116: block/bfq-iosched.c: In function 'bfq_set_next_ioprio_data': block/bfq-iosched.c:4980:5: error: implicit declaration of function 'bdi_dev_name'; did you mean 'blkg_dev_name'? [-Werror=implicit-function-declaration] 4980 | bdi_dev_name(bfqq->bfqd->queue->backing_dev_info), | ^~~~~~~~~~~~
Quoted 5 lines
Caused by commit
0f6438fca125("bdi: usebdi_dev_name()to get device name")I have applied the following patch for today.
Thanks Stephen, I have added it.
Signature · 1 line
Jens Axboe