tree:   
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git 
for-next
head:   a39e613506eca803cede2cf555d4d1dc485352e7
commit: a39e613506eca803cede2cf555d4d1dc485352e7 [31/31] dm: remove fmode_t 
argument from .prepare_ioctl hook
config: i386-randconfig-x015-201813 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout a39e613506eca803cede2cf555d4d1dc485352e7
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

>> drivers/md/dm-zoned-target.c:954:20: error: initialization from incompatible 
>> pointer type [-Werror=incompatible-pointer-types]
     .prepare_ioctl  = dmz_prepare_ioctl,
                       ^~~~~~~~~~~~~~~~~
   drivers/md/dm-zoned-target.c:954:20: note: (near initialization for 
'dmz_type.prepare_ioctl')
   cc1: some warnings being treated as errors

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

3b1a94c8 Damien Le Moal 2017-06-07  943  
3b1a94c8 Damien Le Moal 2017-06-07  944  static struct target_type dmz_type = {
3b1a94c8 Damien Le Moal 2017-06-07  945         .name            = "zoned",
3b1a94c8 Damien Le Moal 2017-06-07  946         .version         = {1, 0, 0},
3b1a94c8 Damien Le Moal 2017-06-07  947         .features        = 
DM_TARGET_SINGLETON | DM_TARGET_ZONED_HM,
3b1a94c8 Damien Le Moal 2017-06-07  948         .module          = THIS_MODULE,
3b1a94c8 Damien Le Moal 2017-06-07  949         .ctr             = dmz_ctr,
3b1a94c8 Damien Le Moal 2017-06-07  950         .dtr             = dmz_dtr,
3b1a94c8 Damien Le Moal 2017-06-07  951         .map             = dmz_map,
3b1a94c8 Damien Le Moal 2017-06-07  952         .end_io          = dmz_end_io,
3b1a94c8 Damien Le Moal 2017-06-07  953         .io_hints        = dmz_io_hints,
3b1a94c8 Damien Le Moal 2017-06-07 @954         .prepare_ioctl   = 
dmz_prepare_ioctl,
3b1a94c8 Damien Le Moal 2017-06-07  955         .postsuspend     = dmz_suspend,
3b1a94c8 Damien Le Moal 2017-06-07  956         .resume          = dmz_resume,
3b1a94c8 Damien Le Moal 2017-06-07  957         .iterate_devices = 
dmz_iterate_devices,
3b1a94c8 Damien Le Moal 2017-06-07  958  };
3b1a94c8 Damien Le Moal 2017-06-07  959  

:::::: The code at line 954 was first introduced by commit
:::::: 3b1a94c88b798d4f3bd1a5b61f5c8fb9d987c242 dm zoned: drive-managed zoned 
block device target

:::::: TO: Damien Le Moal <damien.lem...@wdc.com>
:::::: CC: Mike Snitzer <snit...@redhat.com>

---
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@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to