Skip to contentSkip to conversation

scsi.c: add missing kernel-doc notation for new VPD parameters

PATCH New Randy Dunlap 1 participant 1 message Mar 1, 2010 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi.c: add missing kernel-doc notation for new VPD parameters

From: Randy Dunlap <[email protected]>

Add missing kernel-doc notation for new function parameters:

Warning(drivers/scsi/scsi.c:1031): No description found for parameter 'buf' Warning(drivers/scsi/scsi.c:1031): No description found for parameter 'buf_len'

Cc James Bottomley <[email protected]>
---
 drivers/scsi/scsi.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/scsi/scsi.c +2 -0
@@ -1018,6 +1018,8 @@ static int scsi_vpd_inquiry(struct scsi_
  * scsi_get_vpd_page - Get Vital Product Data from a SCSI device
  * @sdev: The device to ask
  * @page: Which Vital Product Data to return
+ * @buf: where to store the VPD
+ * @buf_len: number of bytes in the VPD buffer area
  *
  * SCSI devices may optionally supply Vital Product Data.  Each 'page'
  * of VPD is defined in the appropriate SCSI document (eg SPC, SBC).