mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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:
parent
cb6219a2f5
commit
d6444062f8
63 changed files with 161 additions and 161 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue