ethernet: Use octal not symbolic permissions
Prefer the direct use of octal for permissions. Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace and some typing. Miscellanea: o Whitespace neatening around these conversions. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d61e403856
commit
d3757ba4c1
@@ -63,24 +63,24 @@ MODULE_DESCRIPTION("Broadcom SiByte SOC GB Ethernet driver");
|
||||
|
||||
/* 1 normal messages, 0 quiet .. 7 verbose. */
|
||||
static int debug = 1;
|
||||
module_param(debug, int, S_IRUGO);
|
||||
module_param(debug, int, 0444);
|
||||
MODULE_PARM_DESC(debug, "Debug messages");
|
||||
|
||||
#ifdef CONFIG_SBMAC_COALESCE
|
||||
static int int_pktcnt_tx = 255;
|
||||
module_param(int_pktcnt_tx, int, S_IRUGO);
|
||||
module_param(int_pktcnt_tx, int, 0444);
|
||||
MODULE_PARM_DESC(int_pktcnt_tx, "TX packet count");
|
||||
|
||||
static int int_timeout_tx = 255;
|
||||
module_param(int_timeout_tx, int, S_IRUGO);
|
||||
module_param(int_timeout_tx, int, 0444);
|
||||
MODULE_PARM_DESC(int_timeout_tx, "TX timeout value");
|
||||
|
||||
static int int_pktcnt_rx = 64;
|
||||
module_param(int_pktcnt_rx, int, S_IRUGO);
|
||||
module_param(int_pktcnt_rx, int, 0444);
|
||||
MODULE_PARM_DESC(int_pktcnt_rx, "RX packet count");
|
||||
|
||||
static int int_timeout_rx = 64;
|
||||
module_param(int_timeout_rx, int, S_IRUGO);
|
||||
module_param(int_timeout_rx, int, 0444);
|
||||
MODULE_PARM_DESC(int_timeout_rx, "RX timeout value");
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user