Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] scsi ioctl: fix kernel-doc warning

Fix kernel-doc parameter warning and correct the function name:

Warning(linux-next-20081022//drivers/scsi/scsi_ioctl.c:281): No description found for parameter 'ndelay'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Randy Dunlap and committed by
James Bottomley
decf67e3 3c92ec8a

+2 -2
+2 -2
drivers/scsi/scsi_ioctl.c
··· 270 270 EXPORT_SYMBOL(scsi_ioctl); 271 271 272 272 /** 273 - * scsi_nonblock_ioctl() - Handle SG_SCSI_RESET 273 + * scsi_nonblockable_ioctl() - Handle SG_SCSI_RESET 274 274 * @sdev: scsi device receiving ioctl 275 275 * @cmd: Must be SC_SCSI_RESET 276 276 * @arg: pointer to int containing SG_SCSI_RESET_{DEVICE,BUS,HOST} 277 - * @filp: either NULL or a &struct file which must have the O_NONBLOCK flag. 277 + * @ndelay: file mode O_NDELAY flag 278 278 */ 279 279 int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd, 280 280 void __user *arg, int ndelay)