[dm-devel] [dm:for-next 12/12] drivers/md/dm-zoned-target.c:947:2: error: unknown field 'suspend' specified in initializer

kbuild test robot fengguang.wu at intel.com
Fri Jun 9 04:33:56 UTC 2017


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head:   02da2e15e81f3f0b7cd1665a84669c6bb56276bc
commit: 02da2e15e81f3f0b7cd1665a84669c6bb56276bc [12/12] dm zoned: drive-managed zoned block device target
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 02da2e15e81f3f0b7cd1665a84669c6bb56276bc
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> 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,
                 ^~~~~~~~~~~
   drivers/md/dm-zoned-target.c:947:14: note: (near initialization for 'dmz_type.busy')
   cc1: some warnings being treated as errors

vim +/suspend +947 drivers/md/dm-zoned-target.c

   941		.ctr		 = dmz_ctr,
   942		.dtr		 = dmz_dtr,
   943		.map		 = dmz_map,
   944		.end_io		 = dmz_end_io,
   945		.io_hints	 = dmz_io_hints,
   946		.prepare_ioctl	 = dmz_prepare_ioctl,
 > 947		.suspend	 = dmz_suspend,
   948		.resume		 = dmz_resume,
   949		.iterate_devices = dmz_iterate_devices,
   950	};

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 60100 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20170609/ba9608e7/attachment.gz>


More information about the dm-devel mailing list