Skip to content

Commit

Permalink
[SCSI] scsi ioctl: fix kernel-doc warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
rddunlap authored and James Bottomley committed Dec 29, 2008
1 parent 3c92ec8 commit decf67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/scsi_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,11 @@ int scsi_ioctl(struct scsi_device *sdev, int cmd, void __user *arg)
EXPORT_SYMBOL(scsi_ioctl);

/**
* scsi_nonblock_ioctl() - Handle SG_SCSI_RESET
* scsi_nonblockable_ioctl() - Handle SG_SCSI_RESET
* @sdev: scsi device receiving ioctl
* @cmd: Must be SC_SCSI_RESET
* @arg: pointer to int containing SG_SCSI_RESET_{DEVICE,BUS,HOST}
* @filp: either NULL or a &struct file which must have the O_NONBLOCK flag.
* @ndelay: file mode O_NDELAY flag
*/
int scsi_nonblockable_ioctl(struct scsi_device *sdev, int cmd,
void __user *arg, int ndelay)
Expand Down

0 comments on commit decf67e

Please sign in to comment.