aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/chunk.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-22 23:16:50 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-26 13:47:47 -0500
commitcb3f837ba95d7774978e86fc17ddf970cf7d15a4 (patch)
tree6d65728a0446cf0830da1d599f6fcbb45d3d799d /net/sctp/chunk.c
parent4c99aa409a56ae6517b2ae3c23f685d502daa992 (diff)
sctp: fix checkpatch errors with space required or prohibited
fix checkpatch errors while the space is required or prohibited to the "=,()++..." Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/chunk.c')
-rw-r--r--net/sctp/chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c
index 5573e425b0c0..158701da2d31 100644
--- a/net/sctp/chunk.c
+++ b/net/sctp/chunk.c
@@ -254,7 +254,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
254 SCTP_INC_STATS_USER(sock_net(asoc->base.sk), SCTP_MIB_FRAGUSRMSGS); 254 SCTP_INC_STATS_USER(sock_net(asoc->base.sk), SCTP_MIB_FRAGUSRMSGS);
255 255
256 /* Create chunks for all the full sized DATA chunks. */ 256 /* Create chunks for all the full sized DATA chunks. */
257 for (i=0, len=first_len; i < whole; i++) { 257 for (i = 0, len = first_len; i < whole; i++) {
258 frag = SCTP_DATA_MIDDLE_FRAG; 258 frag = SCTP_DATA_MIDDLE_FRAG;
259 259
260 if (0 == i) 260 if (0 == i)
@@ -317,7 +317,7 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
317 goto errout; 317 goto errout;
318 } 318 }
319 319
320 err = sctp_user_addto_chunk(chunk, offset, over,msgh->msg_iov); 320 err = sctp_user_addto_chunk(chunk, offset, over, msgh->msg_iov);
321 321
322 /* Put the chunk->skb back into the form expected by send. */ 322 /* Put the chunk->skb back into the form expected by send. */
323 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr 323 __skb_pull(chunk->skb, (__u8 *)chunk->chunk_hdr