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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: .config.gz
Description: application/gzip

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux