2023-12-21 03:02:54

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the block tree

Hi all,

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

ERROR: modpost: "disk_clear_zoned" [drivers/scsi/sd_mod.ko] undefined!

Caused by commit

d73e93b4dfab ("block: simplify disk_set_zoned")

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

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2023-12-21 03:15:11

by Jens Axboe

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the block tree

On 12/20/23 8:01 PM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "disk_clear_zoned" [drivers/scsi/sd_mod.ko] undefined!
>
> Caused by commit
>
> d73e93b4dfab ("block: simplify disk_set_zoned")

Oops, yes that's missing an export. I'll queue on up.

--
Jens Axboe



2023-12-21 05:26:15

by Christoph Hellwig

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the block tree

On Thu, Dec 21, 2023 at 02:01:24PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the block tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> ERROR: modpost: "disk_clear_zoned" [drivers/scsi/sd_mod.ko] undefined!

Oops, yes - disk_clear_zoned needs an export to allow for a modular sd
driver. I'll send a fix.