aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Robson <robsonde@gmail.com>2017-01-15 20:16:38 +1300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-16 18:08:57 +0100
commit5fbe4bfc62323fa9db28f933c5f392bf58bb7239 (patch)
tree0e1545cfe4b424eb8ce94d1a100d446e7a21e4fb
parentstaging:vt6656:mac.c Aligned to match open parenthesis (diff)
downloadlinux-dev-5fbe4bfc62323fa9db28f933c5f392bf58bb7239.tar.xz
linux-dev-5fbe4bfc62323fa9db28f933c5f392bf58bb7239.zip
Drivers: staging: rtl8192e: style fix, octal file permissions
Changed file permissions to octal. Found with checkpatch. Signed-off-by: Derek Robson <robsonde@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8192e/rtl8192e/rtl_core.c6
1 files 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)");