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