sctp: a bunch of fixes for some sparse warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | sctp: fix some type cast warnings introduced by stream reconfinclude/ include/ include/ +3 more | +39 | 0 replies | |
| 2/4 | sctp: fix some type cast warnings introduced by transport rhashtablenet/ | +11 | 0 replies | |
| 3/4 | sctp: fix a type cast warnings that causes a_rwnd gets the wrong valuenet/ | +2 | 0 replies | |
| 4/4 | sctp: fix some type cast warnings introduced since very beginninginclude/ include/ net/ +2 more | +7 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net 0/4] sctp: a bunch of fixes for some sparse warnings
As Eric noticed, when running 'make C=2 M=net/sctp/', a plenty of warnings or errors checked by sparse appear. They are all problems about Endian and type cast.
Most of them are just warnings by which no issues could be caused while some might be bugs.
This patchset fixes them with four patches basically according to how they are introduced.
Xin Long (4):
sctp: fix some type cast warnings introduced by stream reconf
sctp: fix some type cast warnings introduced by transport rhashtable
sctp: fix a type cast warnings that causes a_rwnd gets the wrong value
sctp: fix some type cast warnings introduced since very beginning
include/linux/sctp.h | 34 +++++++++++++++++----------------- include/net/sctp/sm.h | 2 +- include/net/sctp/ulpevent.h | 2 +- include/uapi/linux/sctp.h | 2 +- net/sctp/input.c | 22 +++++++++++----------- net/sctp/ipv6.c | 2 +- net/sctp/sm_make_chunk.c | 9 +++++---- net/sctp/sm_sideeffect.c | 8 ++++---- net/sctp/stream.c | 26 +++++++++++++++++--------- net/sctp/ulpevent.c | 2 +- 10 files changed, 59 insertions(+), 50 deletions(-)
Signature · 1 line
2.1.0