diff options
| author | Joe Perches <[email protected]> | 2018-03-23 22:54:38 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-03-26 16:07:48 +0000 |
| commit | d6444062f8f07c346a21bd815af4a3dc8b231574 (patch) | |
| tree | 5a50d845638e4b2b2182027302144afa78d7d35b /net/ipv4/tcp_ipv4.c | |
| parent | Merge branch 'Drop-NETDEV_UNREGISTER_FINAL' (diff) | |
| download | kernel-d6444062f8f07c346a21bd815af4a3dc8b231574.tar.gz kernel-d6444062f8f07c346a21bd815af4a3dc8b231574.zip | |
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]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
| -rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 2c6aec2643e8..fec8b1fd7b63 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -2215,7 +2215,7 @@ int tcp_proc_register(struct net *net, struct tcp_seq_afinfo *afinfo) afinfo->seq_ops.next = tcp_seq_next; afinfo->seq_ops.stop = tcp_seq_stop; - p = proc_create_data(afinfo->name, S_IRUGO, net->proc_net, + p = proc_create_data(afinfo->name, 0444, net->proc_net, afinfo->seq_fops, afinfo); if (!p) rc = -ENOMEM; |
