提交 ef6cf365 编写于 作者: A Aleksey Kurbatov 提交者: Greg Kroah-Hartman

staging: rtl8712: use octal permissions

Using octal permissions instead of symbolic ones is preferred.
Signed-off-by: NAleksey Kurbatov <alkbt@yandex.ru>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 55031da4
...@@ -93,7 +93,7 @@ static char *initmac; ...@@ -93,7 +93,7 @@ static char *initmac;
*/ */
static int wifi_test; static int wifi_test;
module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO | S_IWUSR); module_param_string(ifname, ifname, sizeof(ifname), 0644);
module_param(wifi_test, int, 0644); module_param(wifi_test, int, 0644);
module_param(initmac, charp, 0644); module_param(initmac, charp, 0644);
module_param(video_mode, int, 0644); module_param(video_mode, int, 0644);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册