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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Joe Perches 2018-03-23 15:54:38 -07:00 • committed by David S. Miller
commit d6444062f8
63 changed files with 161 additions and 161 deletions

View file

@ -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;