projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
177aa53
)
staging: rtl8192u: r8192U_core: fix checkpatch permission warnings
author
Xavier Roumegue
<
[email protected]
>
Mon, 19 Sep 2016 12:49:24 +0000
(14:49 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 20 Sep 2016 11:33:49 +0000
(13:33 +0200)
Fix the following warnings:
Symbolic permissions are not preferred. Consider using octal permissions.
Signed-off-by: Xavier Roumegue <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8192u/r8192U_core.c
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192u/r8192U_core.c
b/drivers/staging/rtl8192u/r8192U_core.c
index b86b28ae7d7bf1aa959be7e9fedda5d7cca429c8..cdb64e3e0d18ee38887b3d07f12c902159df655d 100644
(file)
--- a/
drivers/staging/rtl8192u/r8192U_core.c
+++ b/
drivers/staging/rtl8192u/r8192U_core.c
@@
-114,9
+114,9
@@
static int channels = 0x3fff;
-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 security support. ");