aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ulpqueue.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/ulpqueue.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/ulpqueue.c')
-rw-r--r--net/sctp/ulpqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/ulpqueue.c b/net/sctp/ulpqueue.c
index a67470083be8..2d96640b7ad8 100644
--- a/net/sctp/ulpqueue.c
+++ b/net/sctp/ulpqueue.c
@@ -107,7 +107,7 @@ int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk,
107 event = sctp_ulpq_reasm(ulpq, event); 107 event = sctp_ulpq_reasm(ulpq, event);
108 108
109 /* Do ordering if needed. */ 109 /* Do ordering if needed. */
110 if ((event) && (event->msg_flags & MSG_EOR)){ 110 if ((event) && (event->msg_flags & MSG_EOR)) {
111 /* Create a temporary list to collect chunks on. */ 111 /* Create a temporary list to collect chunks on. */
112 skb_queue_head_init(&temp); 112 skb_queue_head_init(&temp);
113 __skb_queue_tail(&temp, sctp_event2skb(event)); 113 __skb_queue_tail(&temp, sctp_event2skb(event));
@@ -726,7 +726,7 @@ static void sctp_ulpq_reasm_drain(struct sctp_ulpq *ulpq)
726 726
727 while ((event = sctp_ulpq_retrieve_reassembled(ulpq)) != NULL) { 727 while ((event = sctp_ulpq_retrieve_reassembled(ulpq)) != NULL) {
728 /* Do ordering if needed. */ 728 /* Do ordering if needed. */
729 if ((event) && (event->msg_flags & MSG_EOR)){ 729 if ((event) && (event->msg_flags & MSG_EOR)) {
730 skb_queue_head_init(&temp); 730 skb_queue_head_init(&temp);
731 __skb_queue_tail(&temp, sctp_event2skb(event)); 731 __skb_queue_tail(&temp, sctp_event2skb(event));
732 732