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

From: Stephen Rothwell
Date: Wed Feb 10 2021 - 22:37:47 EST


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.

--
Cheers,
Stephen Rothwell

Attachment: pgpTBkSSqjdqx.pgp
Description: OpenPGP digital signature