All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc
@ 2005-11-13 16:17 Stefan Richter
  2005-11-13 16:42 ` Christoph Hellwig
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Richter @ 2005-11-13 16:17 UTC (permalink / raw)
  To: linux-scsi

scsi_host_alloc: use host template's .name instead of .proc_name in order to
restrict usage of .proc_name to procfs and sysfs

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---
 drivers/scsi/hosts.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.14-git3/drivers/scsi/hosts.c.orig	2005-10-31 12:27:21.000000000 +0100
+++ linux-2.6.14-git3/drivers/scsi/hosts.c	2005-11-13 16:06:26.000000000 +0100
@@ -301,7 +301,7 @@ struct Scsi_Host *scsi_host_alloc(struct
 				"ERROR: This is not a safe way to run your "
 				        "SCSI host\n"
 				"ERROR: The error handling must be added to "
-				"this driver\n", sht->proc_name);
+				"this driver\n", sht->name);
 		dump_stack();
         }
 


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

end of thread, other threads:[~2005-11-13 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-13 16:17 [PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc Stefan Richter
2005-11-13 16:42 ` Christoph Hellwig
2005-11-13 16:49   ` Stefan Richter
2005-11-13 16:52     ` Stefan Richter
2005-11-13 17:07     ` Christoph Hellwig

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.