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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

szülő
cb6219a2f5
commit
d6444062f8
@@ -249,11 +249,11 @@ int __init llc_proc_init(void)
|
||||
if (!llc_proc_dir)
|
||||
goto out;
|
||||
|
||||
p = proc_create("socket", S_IRUGO, llc_proc_dir, &llc_seq_socket_fops);
|
||||
p = proc_create("socket", 0444, llc_proc_dir, &llc_seq_socket_fops);
|
||||
if (!p)
|
||||
goto out_socket;
|
||||
|
||||
p = proc_create("core", S_IRUGO, llc_proc_dir, &llc_seq_core_fops);
|
||||
p = proc_create("core", 0444, llc_proc_dir, &llc_seq_core_fops);
|
||||
if (!p)
|
||||
goto out_core;
|
||||
|
||||
|
Reference in New Issue
Block a user