[PATCH 2/4] scsi: remove usage of proc_name from scsi_host_alloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
---
 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();
         }
 

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux