Skip to contentSkip to conversation

scsi: ipr: Fix two kernel-doc comments

PATCH Applied Bart Van Assche 2 participants 3 messages Oct 15 – Oct 29

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: ipr: Fix two kernel-doc comments

Commit e2bb4cd08080 added the SCSI host as function argument to multiple functions but not all kernel-doc comments were updated. Fix this.

Fixes e2bb4cd08080 ("scsi: ipr: Pass the host pointer directly to several functions")
---
 drivers/scsi/ipr.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/scsi/ipr.c +3 -1
index 665fc54fcbb3..a68ec85a7780 100644
@@ -5000,7 +5000,8 @@ static int ipr_eh_host_reset(struct scsi_cmnd *cmd)
 /**
  * ipr_device_reset - Reset the device
  * @ioa_cfg:	ioa config struct
- * @res:		resource entry struct
+ * @host:	scsi host struct
+ * @res:	resource entry struct
  *
  * This function issues a device reset to the affected device.
  * If the device is a SCSI device, a LUN reset will be sent
@@ -5043,6 +5044,7 @@ static int ipr_device_reset(struct ipr_ioa_cfg *ioa_cfg,
 
 /**
  * __ipr_eh_dev_reset - Reset the device
+ * @host:	scsi host struct
  * @scsi_cmd:	scsi command struct
  *
  * This function issues a device reset to the affected device.
maintainer Applied
#1 lore raw

Bart,

Quoted 3 lines

Commit e2bb4cd08080 added the SCSI host as function argument to multiple functions but not all kernel-doc comments were updated. Fix this.

Applied to 7.4/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen