summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2017-08-24 16:11:09 -0600
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-25 17:38:40 -0400
commit35c0506f27f6e3f278592d631901163cbccce28d (patch)
tree9ba04708226ebf9e3d6fb99d34295160c792e1ee /drivers/scsi
parenta5a039b01729e729ee4cf1e11200f002af787f6e (diff)
downloadop-kernel-dev-35c0506f27f6e3f278592d631901163cbccce28d.zip
op-kernel-dev-35c0506f27f6e3f278592d631901163cbccce28d.tar.gz
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')
-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 76adec7..696d2eae 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().
*/
OpenPOWER on IntegriCloud