From 118900953ee7697a09338d14b7f1e24488ac4f5d Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 12 Sep 2010 18:11:42 +0000 Subject: [PATCH] Fix the module parm description so that the name matches the correct name. Also, this approach changes the default behavior for people who are using CONFIG_SCST_PROC because the default was that a single host/tgt was added, but now they have to change their /etc/modules.d/scst.conf or whatever to add add_default_tgt=1. I am not sure that is a good thing. With the last few commits and this one, I have tested on 2.6.34.1 and 2.6.28 and things seem to work. I am now looking at the problem Vlad reported with CONFIG_SCST_PROC where local devices show up under SCSI bus or device from 0 to 7. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2108 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index e4ae86713..f8d9b202c 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -104,7 +104,7 @@ static int scst_local_add_default_tgt; static bool scst_local_add_default_tgt; #endif module_param_named(add_default_tgt, scst_local_add_default_tgt, bool, S_IRUGO); -MODULE_PARM_DESC(add_default_host, "add or not (default) on start default " +MODULE_PARM_DESC(add_default_tgt, "add or not (default) on start default " "target scst_local_tgt with default session scst_local_host"); struct scst_aen_work_item {