diff options
author | Joe Perches <joe@perches.com> | 2018-03-24 00:34:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-26 18:07:49 +0200 |
commit | d3757ba4c1421d2ad00d2bf97119005e37ad2902 (patch) | |
tree | a3b09afa0c49bf22c10eb29c2436bf71619a5395 /drivers/net/ethernet/ec_bhf.c | |
parent | drivers/net: Use octal not symbolic permissions (diff) | |
download | linux-d3757ba4c1421d2ad00d2bf97119005e37ad2902.tar.xz linux-d3757ba4c1421d2ad00d2bf97119005e37ad2902.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
-rw-r--r-- | drivers/net/ethernet/ec_bhf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ec_bhf.c b/drivers/net/ethernet/ec_bhf.c index 1b79a6defd56..d71cba0842c5 100644 --- a/drivers/net/ethernet/ec_bhf.c +++ b/drivers/net/ethernet/ec_bhf.c @@ -602,7 +602,7 @@ static struct pci_driver pci_driver = { }; module_pci_driver(pci_driver); -module_param(polling_frequency, long, S_IRUGO); +module_param(polling_frequency, long, 0444); MODULE_PARM_DESC(polling_frequency, "Polling timer frequency in ns"); MODULE_LICENSE("GPL"); |