diff options
author | Niels de Vos <niels@nixpanic.net> | 2008-07-31 03:07:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 15:46:41 -0400 |
commit | 61a2d07d3fb1ac34d142b9b62d4cd60a0f8c229e (patch) | |
tree | f7ffe587767438bc0a4f4008a135e976e6264977 /drivers/net/netconsole.c | |
parent | 3a4b7886ee59e122d359e1714ed89585a06645ad (diff) |
Remove newline from the description of module parameters
Some module parameters with only one line have the '\n' at the end of the
description. This is not needed nor wanted as after the description the
type (i.e. int) is followed by a newline.
Some modules contain a multi-line description, these are not affected
by this patch.
Signed-off-by: Niels de Vos <niels.devos@wincor-nixdorf.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: Ed L. Cashin <ecashin@coraid.com>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Roland Dreier <rolandd@cisco.com>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net/netconsole.c')
-rw-r--r-- | drivers/net/netconsole.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index e13966bb5f77..9681618c3232 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c | |||
@@ -53,7 +53,7 @@ MODULE_LICENSE("GPL"); | |||
53 | 53 | ||
54 | static char config[MAX_PARAM_LENGTH]; | 54 | static char config[MAX_PARAM_LENGTH]; |
55 | module_param_string(netconsole, config, MAX_PARAM_LENGTH, 0); | 55 | module_param_string(netconsole, config, MAX_PARAM_LENGTH, 0); |
56 | MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]\n"); | 56 | MODULE_PARM_DESC(netconsole, " netconsole=[src-port]@[src-ip]/[dev],[tgt-port]@<tgt-ip>/[tgt-macaddr]"); |
57 | 57 | ||
58 | #ifndef MODULE | 58 | #ifndef MODULE |
59 | static int __init option_setup(char *opt) | 59 | static int __init option_setup(char *opt) |