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
@@ -287,7 +287,7 @@ void bond_create_proc_entry(struct bonding *bond)
|
||||
|
||||
if (bn->proc_dir) {
|
||||
bond->proc_entry = proc_create_data(bond_dev->name,
|
||||
S_IRUGO, bn->proc_dir,
|
||||
0444, bn->proc_dir,
|
||||
&bond_info_fops, bond);
|
||||
if (bond->proc_entry == NULL)
|
||||
netdev_warn(bond_dev, "Cannot create /proc/net/%s/%s\n",
|
||||
|
Reference in New Issue
Block a user