diff options
author | wangweidong <wangweidong1@huawei.com> | 2013-12-23 04:16:53 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 18:47:48 (GMT) |
commit | 8d72651d86e9c702d37dd9ef9f084ce027af90a7 (patch) | |
tree | 7e5406d0de3cdc025e2c892bd7addb3e54732959 /net/sctp/socket.c | |
parent | f7010e61442c80333b38aa026a551043a341fb8d (diff) | |
download | linux-8d72651d86e9c702d37dd9ef9f084ce027af90a7.tar.xz |
sctp: fix checkpatch errors with open brace '{' and trailing statements
fix checkpatch errors below:
ERROR: that open brace { should be on the previous line
ERROR: open brace '{' following function declarations go on the next line
ERROR: trailing statements should be on next line
Signed-off-by: Wang Weidong <wangweidong1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index 9f42c60..2df5564 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c @@ -5443,7 +5443,8 @@ static int sctp_getsockopt_peer_auth_chunks(struct sock *sk, int len, return -EFAULT; num: len = sizeof(struct sctp_authchunks) + num_chunks; - if (put_user(len, optlen)) return -EFAULT; + if (put_user(len, optlen)) + return -EFAULT; if (put_user(num_chunks, &p->gauth_number_of_chunks)) return -EFAULT; return 0; |