diff options
author | David S. Miller <davem@davemloft.net> | 2017-11-28 19:00:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-28 19:00:14 +0300 |
commit | a51a40b7abb619c38fe60d896a6916be280171ea (patch) | |
tree | 39fb89151c14acafe4811c2b31116245f12e21c6 /include/net/sctp/stream_sched.h | |
parent | f95d5bf03b5ec0d7ea8e552e15abe70c646249b5 (diff) | |
parent | 1ba896f6f52bfafac6dec4ca583cdd9a073858e8 (diff) | |
download | linux-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 'include/net/sctp/stream_sched.h')
-rw-r--r-- | include/net/sctp/stream_sched.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sctp/stream_sched.h b/include/net/sctp/stream_sched.h index c676550a4c7d..5c5da48f65e7 100644 --- a/include/net/sctp/stream_sched.h +++ b/include/net/sctp/stream_sched.h @@ -69,4 +69,9 @@ void sctp_sched_dequeue_common(struct sctp_outq *q, struct sctp_chunk *ch); int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp); struct sctp_sched_ops *sctp_sched_ops_from_stream(struct sctp_stream *stream); +void sctp_sched_ops_register(enum sctp_sched_type sched, + struct sctp_sched_ops *sched_ops); +void sctp_sched_ops_prio_init(void); +void sctp_sched_ops_rr_init(void); + #endif /* __sctp_stream_sched_h__ */ |