Re: [PATCH 2/3] Introduce starget_for_all_devices() and shost_for_all_devices()

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

 



Hi Bart,

[auto build test WARNING on scsi/for-next]
[also build test WARNING on v4.11-rc2 next-20170310]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Bart-Van-Assche/Unblock-SCSI-devices-even-if-the-LLD-is-being-unloaded/20170318-214016
base:   https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git for-next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

>> drivers/scsi/scsi.c:669: warning: No description found for parameter 'sdev'
   drivers/scsi/scsi.c:679: warning: No description found for parameter 'sdev'
   drivers/scsi/constants.c:1: warning: no structured comments found

vim +/sdev +669 drivers/scsi/scsi.c

   653		struct scsi_device *sdev;
   654	
   655		shost_for_each_device(sdev, shost) {
   656			if ((sdev->channel == starget->channel) &&
   657			    (sdev->id == starget->id))
   658				fn(sdev, data);
   659		}
   660	}
   661	EXPORT_SYMBOL(starget_for_each_device);
   662	
   663	/**
   664	 * scsi_device_get_any() - get a reference to @sdev even if it is being deleted
   665	 *
   666	 * See also scsi_device_get().
   667	 */
   668	static int scsi_device_get_any(struct scsi_device *sdev)
 > 669	{
   670		return get_device(&sdev->sdev_gendev) ? 0 : -ENXIO;
   671	}
   672	
   673	/**
   674	 * scsi_device_put_any() - drop a reference obtained by scsi_device_get_any()
   675	 *
   676	 * See also scsi_device_put().
   677	 */

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

Attachment: .config.gz
Description: application/gzip


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux