summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-08-25 00:11:09 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 23:38:40 +0200
commit35c0506f27f6e3f278592d631901163cbccce28d (patch)
tree9ba04708226ebf9e3d6fb99d34295160c792e1ee /drivers
parentscsi: ses: Fix racy cleanup of /sys in remove_dev() (diff)
downloadlinux-35c0506f27f6e3f278592d631901163cbccce28d.tar.xz
linux-35c0506f27f6e3f278592d631901163cbccce28d.zip
scsi: Fix the kerneldoc for scsi_initialize_rq()
The kerneldoc comment for scsi_initialize_rq() neglected to document the "rq" parameter, leading to this docs build warning: ./drivers/scsi/scsi_lib.c:1116: warning: No description found for parameter 'rq' Document the parameter and make the build slightly quieter. [mkp: used wording suggested by Bart] Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/scsi_lib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 76adec714189..696d2eae0ba6 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1108,6 +1108,7 @@ EXPORT_SYMBOL(scsi_init_io);
/**
* scsi_initialize_rq - initialize struct scsi_cmnd.req
+ * @rq: Request associated with the SCSI command to be initialized.
*
* Called from inside blk_get_request().
*/