All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 1/1] scsi: fix a few misleading comments in scsi.c
@ 2007-10-26 13:42 scameron
  2007-10-26 14:37 ` Matthew Wilcox
  0 siblings, 1 reply; 3+ messages in thread
From: scameron @ 2007-10-26 13:42 UTC (permalink / raw)
  To: linux-scsi


Fix a few misleading comments in scsi.c

Signed-off-by: Stephen M. Cameron <steve.cameron@hp.com>

---


diff -puN linux-2.6.24-rc1/drivers/scsi/scsi.c~fix_scsi_comments linux-2.6.24-rc1/drivers/scsi/scsi.c
--- dynamic_scsi/linux-2.6.24-rc1/drivers/scsi/scsi.c~fix_scsi_comments	2007-10-25 08:52:01.000000000 -0400
+++ dynamic_scsi-root/linux-2.6.24-rc1/drivers/scsi/scsi.c	2007-10-25 08:53:45.000000000 -0400
@@ -897,7 +897,7 @@ EXPORT_SYMBOL(__scsi_iterate_devices);
  * @starget:	target whose devices we want to iterate over.
  *
  * This traverses over each devices of @shost.  The devices have
- * a reference that must be released by scsi_host_put when breaking
+ * a reference that must be released by scsi_device_put when breaking
  * out of the loop.
  */
 void starget_for_each_device(struct scsi_target *starget, void * data,
@@ -949,7 +949,7 @@ EXPORT_SYMBOL(__scsi_device_lookup_by_ta
  *
  * Looks up the scsi_device with the specified @channel, @id, @lun for a
  * give host.  The returned scsi_device has an additional reference that
- * needs to be release with scsi_host_put once you're done with it.
+ * needs to be release with scsi_device_put once you're done with it.
  **/
 struct scsi_device *scsi_device_lookup_by_target(struct scsi_target *starget,
 						 uint lun)
@@ -1008,7 +1008,7 @@ EXPORT_SYMBOL(__scsi_device_lookup);
  *
  * Looks up the scsi_device with the specified @channel, @id, @lun for a
  * give host.  The returned scsi_device has an additional reference that
- * needs to be release with scsi_host_put once you're done with it.
+ * needs to be release with scsi_device_put once you're done with it.
  **/
 struct scsi_device *scsi_device_lookup(struct Scsi_Host *shost,
 		uint channel, uint id, uint lun)
_

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-26 15:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 13:42 [patch 1/1] scsi: fix a few misleading comments in scsi.c scameron
2007-10-26 14:37 ` Matthew Wilcox
2007-10-26 15:05   ` Stefan Richter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.