mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
[PATCH] Spidernet module parm permissions
The module param permsissions should bw read-only, not writable. From: James K Lewis <[email protected]> Signed-off-by: James K Lewis <[email protected]> Signed-off-by: Linas Vepstas <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
This commit is contained in:
parent
a02d601dd5
commit
e2874f2e8c
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ MODULE_VERSION(VERSION);
|
|||
static int rx_descriptors = SPIDER_NET_RX_DESCRIPTORS_DEFAULT;
|
||||
static int tx_descriptors = SPIDER_NET_TX_DESCRIPTORS_DEFAULT;
|
||||
|
||||
module_param(rx_descriptors, int, 0644);
|
||||
module_param(tx_descriptors, int, 0644);
|
||||
module_param(rx_descriptors, int, 0444);
|
||||
module_param(tx_descriptors, int, 0444);
|
||||
|
||||
MODULE_PARM_DESC(rx_descriptors, "number of descriptors used " \
|
||||
"in rx chains");
|
||||
|
|
|
|||
Loading…
Reference in a new issue