Skip to content

sctp: fix some other sparse errors

Xin Long linux-sctp netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sctp: force SCTP_ERROR_INV_STRM with __u32 when calling sctp_chunk_failnet/sctp/stream.c+1 -11 reply
2/3sctp: force the params with right types for sctp csum apisinclude/net/sctp/checksum.h+7 -61 reply
3/3sctp: remove extern from stream schedinclude/net/sctp/sctp.h include/net/sctp/stream_sched.h net/sctp/protocol.c +3 more+41 -91 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcelo Ricardo LeitnerNeil Horman
SeriesA-b
1/3A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net 0/3] 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.

Xin Long (3):
sctp: force SCTP_ERROR_INV_STRM with __u32 when calling
sctp_chunk_fail
sctp: force the params with right types for sctp csum apis
sctp: remove extern from stream sched

 include/net/sctp/checksum.h     | 13 +++++++------
 include/net/sctp/sctp.h         |  5 +++++
 include/net/sctp/stream_sched.h |  5 +++++
 net/sctp/protocol.c             |  1 +
 net/sctp/stream.c               |  2 +-
 net/sctp/stream_sched.c         | 25 ++++++++++++++++++-------
 net/sctp/stream_sched_prio.c    |  7 ++++++-
 net/sctp/stream_sched_rr.c      |  7 ++++++-
 8 files changed, 49 insertions(+), 16 deletions(-)
Signature · 1 line
2.1.0