[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170115071638.20017-1-robsonde@gmail.com>
Date: Sun, 15 Jan 2017 20:16:38 +1300
From: Derek Robson <robsonde@...il.com>
To: gregkh@...uxfoundation.org, binoy.jayan@...aro.org,
davem@...emloft.net, janani.rvchndrn@...il.com,
amitoj1606@...il.com, arnd@...db.de, jarod@...hat.com,
robsonde@...il.com
Cc: devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] Drivers: staging: rtl8192e: style fix, octal file permissions
Changed file permissions to octal.
Found with checkpatch.
Signed-off-by: Derek Robson <robsonde@...il.com>
---
drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
index 8a9172aa8178..2e05ec92ae20 100644
--- a/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
+++ b/drivers/staging/rtl8192e/rtl8192e/rtl_core.c
@@ -2797,9 +2797,9 @@ MODULE_FIRMWARE(RTL8192E_BOOT_IMG_FW);
MODULE_FIRMWARE(RTL8192E_MAIN_IMG_FW);
MODULE_FIRMWARE(RTL8192E_DATA_IMG_FW);
-module_param(ifname, charp, S_IRUGO|S_IWUSR);
-module_param(hwwep, int, S_IRUGO|S_IWUSR);
-module_param(channels, int, S_IRUGO|S_IWUSR);
+module_param(ifname, charp, 0644);
+module_param(hwwep, int, 0644);
+module_param(channels, int, 0644);
MODULE_PARM_DESC(ifname, " Net interface name, wlan%d=default");
MODULE_PARM_DESC(hwwep, " Try to use hardware WEP support(default use hw. set 0 to use software security)");
--
2.11.0
Powered by blists - more mailing lists