summaryrefslogtreecommitdiff
path: root/net/sctp/stream.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-11-28 19:00:14 +0300
committerDavid S. Miller <davem@davemloft.net>2017-11-28 19:00:14 +0300
commita51a40b7abb619c38fe60d896a6916be280171ea (patch)
tree39fb89151c14acafe4811c2b31116245f12e21c6 /net/sctp/stream.c
parentf95d5bf03b5ec0d7ea8e552e15abe70c646249b5 (diff)
parent1ba896f6f52bfafac6dec4ca583cdd9a073858e8 (diff)
downloadlinux-a51a40b7abb619c38fe60d896a6916be280171ea.tar.xz
Merge branch 'sctp-fix-sparse-errors'
Xin Long says: ==================== sctp: fix some other sparse errors After the last fixes for sparse errors, there are still three sparse errors in sctp codes, two of them are type cast, and the other one is using extern. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/stream.c')
-rw-r--r--net/sctp/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/stream.c b/net/sctp/stream.c
index a20145b3a949..76ea66be0bbe 100644
--- a/net/sctp/stream.c
+++ b/net/sctp/stream.c
@@ -64,7 +64,7 @@ static void sctp_stream_outq_migrate(struct sctp_stream *stream,
*/
/* Mark as failed send. */
- sctp_chunk_fail(ch, SCTP_ERROR_INV_STRM);
+ sctp_chunk_fail(ch, (__force __u32)SCTP_ERROR_INV_STRM);
if (asoc->peer.prsctp_capable &&
SCTP_PR_PRIO_ENABLED(ch->sinfo.sinfo_flags))
asoc->sent_cnt_removable--;