mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -1742,7 +1742,7 @@ static __net_init int pppol2tp_init_net(struct net *net)
|
|||
struct proc_dir_entry *pde;
|
||||
int err = 0;
|
||||
|
||||
pde = proc_create("pppol2tp", S_IRUGO, net->proc_net,
|
||||
pde = proc_create("pppol2tp", 0444, net->proc_net,
|
||||
&pppol2tp_proc_fops);
|
||||
if (!pde) {
|
||||
err = -ENOMEM;
|
||||
|
|
|
|||
Loading…
Reference in a new issue