drivers/net: 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> Reviewed-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d6444062f8
commit
d61e403856
@@ -1661,7 +1661,7 @@ static int at86rf230_debugfs_init(struct at86rf230_local *lp)
|
||||
if (!at86rf230_debugfs_root)
|
||||
return -ENOMEM;
|
||||
|
||||
stats = debugfs_create_file("trac_stats", S_IRUGO,
|
||||
stats = debugfs_create_file("trac_stats", 0444,
|
||||
at86rf230_debugfs_root, lp,
|
||||
&at86rf230_stats_fops);
|
||||
if (!stats)
|
||||
|
Reference in New Issue
Block a user