summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-08-25 01:11:09 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-26 00:38:40 +0300
commit35c0506f27f6e3f278592d631901163cbccce28d (patch)
tree9ba04708226ebf9e3d6fb99d34295160c792e1ee /drivers/scsi/scsi_lib.c
parenta5a039b01729e729ee4cf1e11200f002af787f6e (diff)
downloadlinux-35c0506f27f6e3f278592d631901163cbccce28d.tar.xz
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/scsi/scsi_lib.c')
-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().
*/