sctp: remove typedefs from structures part 3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | sctp: remove the typedef sctp_initack_chunk_tinclude/ net/ | +10 | 0 replies | |
| 2/11 | sctp: remove the typedef sctp_cookie_param_tinclude/ net/ | +12 | 0 replies | |
| 3/11 | sctp: remove the typedef sctp_unrecognized_param_tinclude/ net/ | +9 | 0 replies | |
| 4/11 | sctp: remove the typedef sctp_gap_ack_block_tinclude/ | +4 | 0 replies | |
| 5/11 | sctp: remove the typedef sctp_dup_tsn_tinclude/ | +1 | 0 replies | |
| 6/11 | sctp: remove the typedef sctp_sack_variable_tinclude/ net/ | +8 | 0 replies | |
| 7/11 | sctp: remove the typedef sctp_sackhdr_tinclude/ include/ net/ | +6 | 0 replies | |
| 8/11 | sctp: remove the typedef sctp_sack_chunk_tinclude/ net/ net/ | +5 | 0 replies | |
| 9/11 | sctp: remove the typedef sctp_heartbeathdr_tinclude/ net/ | +4 | 0 replies | |
| 10/11 | sctp: remove the typedef sctp_heartbeat_chunk_tinclude/ net/ | +4 | 0 replies | |
| 11/11 | sctp: remove the typedef sctp_abort_chunk_tinclude/ net/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/11] sctp: remove typedefs from structures part 3
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 3 to remove it for another 11 basic structures from linux/sctp.h.
Just as the part 1 and 2, No any code's logic would be changed in these patches, only cleaning up.
Xin Long (11):
sctp: remove the typedef sctp_initack_chunk_t
sctp: remove the typedef sctp_cookie_param_t
sctp: remove the typedef sctp_unrecognized_param_t
sctp: remove the typedef sctp_gap_ack_block_t
sctp: remove the typedef sctp_dup_tsn_t
sctp: remove the typedef sctp_sack_variable_t
sctp: remove the typedef sctp_sackhdr_t
sctp: remove the typedef sctp_sack_chunk_t
sctp: remove the typedef sctp_heartbeathdr_t
sctp: remove the typedef sctp_heartbeat_chunk_t
sctp: remove the typedef sctp_abort_chunk_t
include/linux/sctp.h | 53 +++++++++++++++++++++++----------------------- include/net/sctp/command.h | 4 ++-- net/sctp/chunk.c | 2 +- net/sctp/outqueue.c | 10 ++++----- net/sctp/sm_make_chunk.c | 18 +++++++++------- net/sctp/sm_statefuns.c | 50 ++++++++++++++++++++----------------------- 6 files changed, 68 insertions(+), 69 deletions(-)
Signature · 1 line
2.1.0