Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1668728 > unrolled thread
| Started by | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| First post | 2017-06-19 04:30 +0200 |
| Last post | 2017-06-19 04:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
linux-next: build failure after merge of the device-mapper tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-19 04:30 +0200
| From | Stephen Rothwell <sfr@canb.auug.org.au> |
|---|---|
| Date | 2017-06-19 04:30 +0200 |
| Subject | linux-next: build failure after merge of the device-mapper tree |
| Message-ID | <tTUBY-4Zs-7@gated-at.bofh.it> |
Hi all,
After merging the device-mapper tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/md/dm-zoned-target.c: In function 'dmz_ctr':
drivers/md/dm-zoned-target.c:779:17: error: implicit declaration of function 'bioset_create_nobvec' [-Werror=implicit-function-declaration]
dmz->bio_set = bioset_create_nobvec(DMZ_MIN_BIOS, 0);
^
drivers/md/dm-zoned-target.c:779:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
dmz->bio_set = bioset_create_nobvec(DMZ_MIN_BIOS, 0);
^
Caused by commit
1e6562930ed7 ("dm zoned: drive-managed zoned block device target")
interacting with commit
011067b05668 ("blk: replace bioset_create_nobvec() with a flags arg to bioset_create()")
from the block tree.
I have applied this merge fix patch for today:
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 19 Jun 2017 12:21:38 +1000
Subject: [PATCH] dm zoned: merge fix for "blk: replace bioset_create_nobvec()
with a flags arg to bioset_create()"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/md/dm-zoned-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-zoned-target.c b/drivers/md/dm-zoned-target.c
index d25696caa7f3..2b538fa817f4 100644
--- a/drivers/md/dm-zoned-target.c
+++ b/drivers/md/dm-zoned-target.c
@@ -776,7 +776,7 @@ static int dmz_ctr(struct dm_target *ti, unsigned int argc, char **argv)
ti->len = (sector_t)dmz_nr_chunks(dmz->metadata) << dev->zone_nr_sectors_shift;
/* Zone BIO */
- dmz->bio_set = bioset_create_nobvec(DMZ_MIN_BIOS, 0);
+ dmz->bio_set = bioset_create(DMZ_MIN_BIOS, 0, 0);
if (!dmz->bio_set) {
ti->error = "Create BIO set failed";
ret = -ENOMEM;
--
2.11.0
--
Cheers,
Stephen Rothwell
Back to top | Article view | linux.kernel
csiph-web