diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-10 20:50:40 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-10 22:54:34 -0500 |
commit | b486b2289e40797e386a18048a66b535206a463b (patch) | |
tree | c99cdf31e18c69563602f088a6f747fe96df5031 /net | |
parent | 4f3fdf3bc59cafd14c3bc2c2369efad34c7aa8b5 (diff) |
sctp: fix up a spacing
fix up spacing of proc_sctp_do_hmac_alg for according to the
proc_sctp_do_rto_min[max] in sysctl.c
Suggested-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/sctp/sysctl.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/sctp/sysctl.c b/net/sctp/sysctl.c index 43b5e3243871..b0565afb61c7 100644 --- a/net/sctp/sysctl.c +++ b/net/sctp/sysctl.c | |||
@@ -56,10 +56,8 @@ extern long sysctl_sctp_mem[3]; | |||
56 | extern int sysctl_sctp_rmem[3]; | 56 | extern int sysctl_sctp_rmem[3]; |
57 | extern int sysctl_sctp_wmem[3]; | 57 | extern int sysctl_sctp_wmem[3]; |
58 | 58 | ||
59 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, | 59 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, |
60 | int write, | ||
61 | void __user *buffer, size_t *lenp, | 60 | void __user *buffer, size_t *lenp, |
62 | |||
63 | loff_t *ppos); | 61 | loff_t *ppos); |
64 | static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, | 62 | static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, |
65 | void __user *buffer, size_t *lenp, | 63 | void __user *buffer, size_t *lenp, |
@@ -301,8 +299,7 @@ static struct ctl_table sctp_net_table[] = { | |||
301 | { /* sentinel */ } | 299 | { /* sentinel */ } |
302 | }; | 300 | }; |
303 | 301 | ||
304 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, | 302 | static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, |
305 | int write, | ||
306 | void __user *buffer, size_t *lenp, | 303 | void __user *buffer, size_t *lenp, |
307 | loff_t *ppos) | 304 | loff_t *ppos) |
308 | { | 305 | { |