]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: remove the typedef sctp_errhdr_t
authorXin Long <lucien.xin@gmail.com>
Thu, 3 Aug 2017 07:42:11 +0000 (15:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:45:46 +0000 (09:45 -0700)
commit772440d72dafa3964af6aa8ae5d9438d098d933b
tree7182858967d7ca84eb9a64ea951ee55befd8f7b1
parent944d84b593d8c6a74188800593750f40a1475169
sctp: remove the typedef sctp_errhdr_t

This patch is to remove the typedef sctp_errhdr_t, and replace
with struct sctp_errhdr in the places where it's using this
typedef.

It is also to use sizeof(variable) instead of sizeof(type).

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sctp.h
include/net/sctp/sctp.h
net/sctp/sm_make_chunk.c
net/sctp/sm_sideeffect.c
net/sctp/sm_statefuns.c
net/sctp/ulpevent.c