Subject: Re: linux-next: build failure after merge of the device-mapper tree

From: Mike Snitzer <[email-masked]>
Date: Thu, 11 Feb 2021 09:37:56 -0500

On Wed, Feb 10 2021 at 10:36pm -0500,
Stephen Rothwell <[email-masked]> wrote:

> Hi all,
> 
> After merging the device-mapper tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
> 
> drivers/md/dm-linear.c:234:3: error: 'struct target_type' has no member named 'report_zones'
>   234 |  .report_zones = linear_report_zones,
>       |   ^~~~~~~~~~~~
> drivers/md/dm-crypt.c:3585:3: error: 'struct target_type' has no member named 'report_zones'
>  3585 |  .report_zones = crypt_report_zones,
>       |   ^~~~~~~~~~~~
> 
> Caused by commit
> 
>   7defd0da9dd2 ("dm: simplify target code conditional on CONFIG_BLK_DEV_ZONED")
> 
> The report_zones members existence is guarded by CONFIG_BLK_DEV_ZONED.
> 
> I have used the device-mapper tree from next-20210210 for today.

Sorry, I didn't test with CONFIG_BLK_DEV_ZONED disabled, now fixed.

Thanks,
Mike