* [PATCH] staging: rtl8712: use octal permissions
@ 2017-05-12 18:23 ` Aleksey Kurbatov
0 siblings, 0 replies; 2+ messages in thread
From: Aleksey Kurbatov @ 2017-05-12 18:23 UTC (permalink / raw)
To: gregkh
Cc: Larry.Finger, florian.c.schilhabel, driverdev-devel, linux-kernel, alkbt
Using octal permissions instead of symbolic ones is preferred.
Signed-off-by: Aleksey Kurbatov <alkbt@yandex.ru>
---
drivers/staging/rtl8712/os_intfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c
index 8836b31b4ef8..e698f6ede449 100644
--- a/drivers/staging/rtl8712/os_intfs.c
+++ b/drivers/staging/rtl8712/os_intfs.c
@@ -93,7 +93,7 @@ static char *initmac;
*/
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(initmac, charp, 0644);
module_param(video_mode, int, 0644);
--
2.13.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] staging: rtl8712: use octal permissions
@ 2017-05-12 18:23 ` Aleksey Kurbatov
0 siblings, 0 replies; 2+ messages in thread
From: Aleksey Kurbatov @ 2017-05-12 18:23 UTC (permalink / raw)
To: gregkh
Cc: florian.c.schilhabel, alkbt, driverdev-devel, linux-kernel, Larry.Finger
Using octal permissions instead of symbolic ones is preferred.
Signed-off-by: Aleksey Kurbatov <alkbt@yandex.ru>
---
drivers/staging/rtl8712/os_intfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c
index 8836b31b4ef8..e698f6ede449 100644
--- a/drivers/staging/rtl8712/os_intfs.c
+++ b/drivers/staging/rtl8712/os_intfs.c
@@ -93,7 +93,7 @@ static char *initmac;
*/
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(initmac, charp, 0644);
module_param(video_mode, int, 0644);
--
2.13.0
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-12 18:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-12 18:23 [PATCH] staging: rtl8712: use octal permissions Aleksey Kurbatov
2017-05-12 18:23 ` Aleksey Kurbatov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.