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:
8fcbc63
)
net/natsemi: Fix module parameter permissions
author
Jean Delvare
<
[email protected]
>
Thu, 7 Jul 2011 23:01:28 +0000
(23:01 +0000)
committer
David S. Miller
<
[email protected]
>
Fri, 8 Jul 2011 16:05:20 +0000
(09:05 -0700)
The third parameter of module_param is supposed to represent sysfs
file permissions. A value of "1" leads to the following:
$ ls -l /sys/module/natsemi/parameters/
total 0
---------x 1 root root 4096 Jul 8 09:46 dspcfg_workaround
I am changing it to "0" to align with the other module parameters in
this driver.
Signed-off-by: Jean Delvare <
[email protected]
>
Cc: Tim Hockin <
[email protected]
>
Cc: Mark Brown <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/natsemi.c
patch
|
blob
|
history
diff --git
a/drivers/net/natsemi.c
b/drivers/net/natsemi.c
index 8f8b65af9ed5f9fcbb977d69294096dc51d66d12..1f0a8333fd5c221c1eb9a53a26a9e7ba17ac14c1 100644
(file)
--- a/
drivers/net/natsemi.c
+++ b/
drivers/net/natsemi.c
@@
-140,7
+140,7
@@
MODULE_LICENSE("GPL");
module_param(mtu, int, 0);
module_param(debug, int, 0);
module_param(rx_copybreak, int, 0);
-module_param(dspcfg_workaround, int,
1
);
+module_param(dspcfg_workaround, int,
0
);
module_param_array(options, int, NULL, 0);
module_param_array(full_duplex, int, NULL, 0);
MODULE_PARM_DESC(mtu, "DP8381x MTU (all boards)");