[dm:for-next 11/12] drivers/md/dm-mpath.c:1570:41: error: 'cmd' undeclared

[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:   9e65623302550096dd047c670d9560806b02d112
commit: 21a2807bc3ff0eec3e2ec35357a4c37d4bcbfd5b [11/12] dm: refactor ioctl handling
config: x86_64-randconfig-x018-201544 (attached as .config)
reproduce:
        git checkout 21a2807bc3ff0eec3e2ec35357a4c37d4bcbfd5b
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/md/dm-mpath.c: In function 'multipath_prepare_ioctl':
>> drivers/md/dm-mpath.c:1570:41: error: 'cmd' undeclared (first use in this function)
      int err = scsi_verify_blk_ioctl(NULL, cmd);
                                            ^
   drivers/md/dm-mpath.c:1570:41: note: each undeclared identifier is reported only once for each function it appears in

vim +/cmd +1570 drivers/md/dm-mpath.c

9af4aa30 Milan Broz        2006-10-03  1564  
ec8013be Paolo Bonzini     2012-01-12  1565  	/*
ec8013be Paolo Bonzini     2012-01-12  1566  	 * Only pass ioctls through if the device sizes match exactly.
ec8013be Paolo Bonzini     2012-01-12  1567  	 */
21a2807b Christoph Hellwig 2015-10-15  1568  	if (!*bdev || ti->len != i_size_read((*bdev)->bd_inode) >> SECTOR_SHIFT) {
21a2807b Christoph Hellwig 2015-10-15  1569  		/* not deferring to DM core to verify the ioctl */
a1989b33 Hannes Reinecke   2014-02-26 @1570  		int err = scsi_verify_blk_ioctl(NULL, cmd);
a1989b33 Hannes Reinecke   2014-02-26  1571  		if (err)
a1989b33 Hannes Reinecke   2014-02-26  1572  			r = err;
a1989b33 Hannes Reinecke   2014-02-26  1573  	}

:::::: The code at line 1570 was first introduced by commit
:::::: a1989b330093578ea5470bea0a00f940c444c466 dm mpath: fix stalls when handling invalid ioctls

:::::: TO: Hannes Reinecke <hare@xxxxxxx>
:::::: CC: Mike Snitzer <snitzer@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

--
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