Skip to contentSkip to conversation

scsi: fix scsi_device_lookup_by_target() documentation

PATCH In review Bartlomiej Zolnierkiewicz 1 participant 2 messages Apr 27, 2009 – Jun 7, 2009 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: fix scsi_device_lookup_by_target() documentation

---
 drivers/scsi/scsi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/scsi/scsi.c +2 -2
Index: b/drivers/scsi/scsi.c
===================================================================
@@ -1225,8 +1225,8 @@ EXPORT_SYMBOL(__scsi_device_lookup_by_ta
  * @starget:	SCSI target pointer
  * @lun:	SCSI Logical Unit Number
  *
- * Description: Looks up the scsi_device with the specified @channel, @id, @lun
- * for a given host.  The returned scsi_device has an additional reference that
+ * Description: Looks up the scsi_device with the specified @lun for a given
+ * @starget.  The returned scsi_device has an additional reference that
  * needs to be released with scsi_device_put once you're done with it.
  **/
 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget,
#1 lore raw
Quoted 10 lines · On Monday 27 April 2009 20:54:16 Bartlomiej Zolnierkiewicz wrote:
---
 drivers/scsi/scsi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/drivers/scsi/scsi.c
===================================================================

drivers/scsi/scsi.c EXPORT_SYMBOL(__scsi_device_lookup_by_ta · line 1232

Quoted 10 lines
drivers/scsi/scsi.c +2 -2
@@ -1225,8 +1225,8 @@ EXPORT_SYMBOL(__scsi_device_lookup_by_ta
  * @starget:	SCSI target pointer
  * @lun:	SCSI Logical Unit Number
  *
- * Description: Looks up the scsi_device with the specified @channel, @id, @lun
- * for a given host.  The returned scsi_device has an additional reference that
+ * Description: Looks up the scsi_device with the specified @lun for a given
+ * @starget.  The returned scsi_device has an additional reference that
  * needs to be released with scsi_device_put once you're done with it.
  **/
 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget,

ping?