Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Jun 9, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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:947:2: error: unknown field 'suspend' specified in initializer
.suspend = dmz_suspend,
^
drivers/md/dm-zoned-target.c:947:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.suspend = dmz_suspend,

              ^

Caused by commit

02da2e15e81f ("dm zoned: drive-managed zoned block device target")

I have used the device-mapper tree from next-20170608 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Stephen,

Quoted 10 lines · Stephen Rothwell

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:947:2: error: unknown field 'suspend' specified in initializer
.suspend = dmz_suspend,
^
drivers/md/dm-zoned-target.c:947:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.suspend = dmz_suspend,

Quoted 7 lines
              ^

Caused by commit

02da2e15e81f ("dm zoned: drive-managed zoned block device target")

I have used the device-mapper tree from next-20170608 for today.

My apologies for that. My mistake.
I just posted a patch to dm-devel to fix this. Everything should come in order after Mike's review.

Best regards.

Signature · 7 lines
Damien Le Moal, Ph.D.
Sr Manager, System Software Group,
Western Digital Research
[email protected]
Tel: (+81) 0466-98-3593 (Ext. 51-3593)
1 kirihara-cho, Fujisawa, Kanagawa, 252-0888 Japan
www.wdc.com, www.hgst.com
#2 lore raw
Quoted 17 lines · Damien Le Moal

Stephen,

Quoted 14 lines · Stephen Rothwell

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:947:2: error: unknown field 'suspend' specified in initializer
.suspend = dmz_suspend,
^
drivers/md/dm-zoned-target.c:947:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.suspend = dmz_suspend,

              ^

Caused by commit

Quoted 7 lines
Quoted 3 lines

02da2e15e81f ("dm zoned: drive-managed zoned block device target")

I have used the device-mapper tree from next-20170608 for today.

My apologies for that. My mistake.
I just posted a patch to dm-devel to fix this. Everything should come in order after Mike's review.

I'm to blame for the above issue. I've now fixed it up.