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

* Re: [patch 1/1] scsi: fix a few misleading comments in scsi.c
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Wilcox @ 2007-10-26 14:37 UTC (permalink / raw)
  To: scameron; +Cc: linux-scsi

On Fri, Oct 26, 2007 at 08:42:17AM -0500, scameron@beardog.cca.cpqcorp.net wrote:
> - * 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.

s/release/released/ as well?

> - * 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.

ditto

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

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

* Re: [patch 1/1] scsi: fix a few misleading comments in scsi.c
  2007-10-26 14:37 ` Matthew Wilcox
@ 2007-10-26 15:05   ` Stefan Richter
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Richter @ 2007-10-26 15:05 UTC (permalink / raw)
  To: scameron; +Cc: Matthew Wilcox, linux-scsi

> On Fri, Oct 26, 2007 at 08:42:17AM -0500, scameron@beardog.cca.cpqcorp.net wrote:
>> - * 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.

Well, hopefully this fix goes finally in now. :-)
http://marc.info/?l=linux-scsi&m=114279682717770
-- 
Stefan Richter
-=====-=-=== =-=- ==-=-
http://arcgraph.de/sr/

^ 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.