sctp: remove typedefs from structures part 5
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | sctp: remove the typedef sctp_lower_cwnd_tinclude/ include/ net/ | +5 | 0 replies | |
| 2/14 | sctp: remove the typedef sctp_retransmit_reason_tinclude/ include/ net/ | +5 | 0 replies | |
| 3/14 | sctp: remove the typedef sctp_scope_policy_tinclude/ net/ | +5 | 2 replies | |
| 4/14 | sctp: remove the typedef sctp_scope_tinclude/ include/ include/ +6 more | +42 | 0 replies | |
| 5/14 | sctp: remove the typedef sctp_transport_cmd_tinclude/ include/ net/ | +7 | 0 replies | |
| 6/14 | sctp: remove the typedef sctp_sock_state_tinclude/ include/ | +5 | 0 replies | |
| 7/14 | sctp: remove the typedef sctp_xmit_tinclude/ include/ net/ +1 more | +41 | 0 replies | |
| 8/14 | sctp: remove the typedef sctp_ierror_tinclude/ net/ net/ | +29 | 0 replies | |
| 9/14 | sctp: remove the typedef sctp_state_tinclude/ include/ include/ +6 more | +28 | 0 replies | |
| 10/14 | sctp: remove the typedef sctp_event_primitive_tinclude/ | +4 | 0 replies | |
| 11/14 | sctp: remove the typedef sctp_event_other_tinclude/ | +4 | 0 replies | |
| 12/14 | sctp: remove the typedef sctp_event_timeout_tinclude/ include/ net/ | +9 | 0 replies | |
| 13/14 | sctp: remove the typedef sctp_event_tinclude/ include/ net/ +2 more | +18 | 0 replies | |
| 14/14 | sctp: remove the typedef sctp_subtype_tinclude/ include/ net/ +7 more | +134 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/14] sctp: remove typedefs from structures part 5
As we know, typedef is suggested not to use in kernel, even checkpatch.pl also gives warnings about it. Now sctp is using it for many structures.
All this kind of typedef's using should be removed. This patchset is the part 5 to remove all typedefs in include/net/sctp/constants.h.
Just as the part 1-4, No any code's logic would be changed in these patches, only cleaning up.
Xin Long (14):
sctp: remove the typedef sctp_lower_cwnd_t
sctp: remove the typedef sctp_retransmit_reason_t
sctp: remove the typedef sctp_scope_policy_t
sctp: remove the typedef sctp_scope_t
sctp: remove the typedef sctp_transport_cmd_t
sctp: remove the typedef sctp_sock_state_t
sctp: remove the typedef sctp_xmit_t
sctp: remove the typedef sctp_ierror_t
sctp: remove the typedef sctp_state_t
sctp: remove the typedef sctp_event_primitive_t
sctp: remove the typedef sctp_event_other_t
sctp: remove the typedef sctp_event_timeout_t
sctp: remove the typedef sctp_event_t
sctp: remove the typedef sctp_subtype_t
include/net/sctp/command.h | 8 +- include/net/sctp/constants.h | 89 +++++++++--------- include/net/sctp/sctp.h | 9 +- include/net/sctp/sm.h | 21 ++--- include/net/sctp/structs.h | 42 +++++---- net/sctp/associola.c | 21 ++--- net/sctp/bind_addr.c | 20 ++-- net/sctp/debug.c | 8 +- net/sctp/endpointola.c | 4 +- net/sctp/ipv6.c | 6 +- net/sctp/output.c | 60 ++++++------ net/sctp/outqueue.c | 10 +- net/sctp/primitive.c | 4 +- net/sctp/probe.c | 2 +- net/sctp/protocol.c | 6 +- net/sctp/sm_make_chunk.c | 29 +++--- net/sctp/sm_sideeffect.c | 46 ++++----- net/sctp/sm_statefuns.c | 215 ++++++++++++++++++++++--------------------- net/sctp/sm_statetable.c | 23 +++-- net/sctp/socket.c | 4 +- net/sctp/sysctl.c | 2 +- net/sctp/transport.c | 2 +- 22 files changed, 320 insertions(+), 311 deletions(-)
Signature · 1 line
2.1.0