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
@@ -1168,7 +1168,7 @@ static int __init yam_init_driver(void)
|
||||
yam_timer.expires = jiffies + HZ / 100;
|
||||
add_timer(&yam_timer);
|
||||
|
||||
proc_create("yam", S_IRUGO, init_net.proc_net, &yam_info_fops);
|
||||
proc_create("yam", 0444, init_net.proc_net, &yam_info_fops);
|
||||
return 0;
|
||||
error:
|
||||
while (--i >= 0) {
|
||||
|
Reference in New Issue
Block a user