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)
commitd8238d9dab8fbea22dd04f4e77639c7f7b83eef7
tree7182858967d7ca84eb9a64ea951ee55befd8f7b1
parentac23e68133f4570f40ec0910286ced08ced2d378
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