mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-12 08:48:48 +00:00
[PATCH] Spidernet module parm permissions
The module param permsissions should bw read-only, not writable. From: James K Lewis <jklewis@us.ibm.com> Signed-off-by: James K Lewis <jklewis@us.ibm.com> Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
a02d601dd5
commit
e2874f2e8c
@ -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…
x
Reference in New Issue
Block a user