提交 29d4d6df 编写于 作者: R Rusty Russell

printk: fix unnecessary module_param_name.

You don't need module_param_name if the name is the same!

Cc: Yanmin Zhang <yanmin_zhang@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 f17dda94
...@@ -532,7 +532,7 @@ static int __init ignore_loglevel_setup(char *str) ...@@ -532,7 +532,7 @@ static int __init ignore_loglevel_setup(char *str)
} }
early_param("ignore_loglevel", ignore_loglevel_setup); early_param("ignore_loglevel", ignore_loglevel_setup);
module_param_named(ignore_loglevel, ignore_loglevel, bool, S_IRUGO | S_IWUSR); module_param(ignore_loglevel, bool, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to" MODULE_PARM_DESC(ignore_loglevel, "ignore loglevel setting, to"
"print all kernel messages to the console."); "print all kernel messages to the console.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册