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: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget 
https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 02da2e15e81f3f0b7cd1665a84669c6bb56276bc
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (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:2: warning: initialization from 
>> incompatible pointer type
   drivers/md/dm-zoned-target.c:947:2: warning: (near initialization for 
'dmz_type.busy')

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

   931          struct dmz_target *dmz = ti->private;
   932  
   933          return fn(ti, dmz->ddev, 0, dmz->dev->capacity, data);
   934  }
   935  
   936  static struct target_type dmz_type = {
   937          .name            = "zoned",
   938          .version         = {1, 0, 0},
   939          .features        = DM_TARGET_SINGLETON | DM_TARGET_ZONED_HM,
   940          .module          = THIS_MODULE,
   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  };
   951  
   952  static int __init dmz_init(void)
   953  {
   954          return dm_register_target(&dmz_type);
   955  }

---
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
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to