summaryrefslogtreecommitdiff
path: root/net/sctp/probe.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-05 20:00:04 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-06 21:33:42 -0700
commitbfc6f8270fefb323662d1d7713f940149f27b7f1 (patch)
tree3236aad70ec3c97f83d6c70aa5688fc0517d564b /net/sctp/probe.c
parent61f0eb072294a148f707335d4d7f858b2af73770 (diff)
sctp: remove the typedef sctp_subtype_t
This patch is to remove the typedef sctp_subtype_t, and replace with union sctp_subtype in the places where it's using this typedef. Note that it doesn't fix many indents although it should, as sctp_disposition_t's removal would mess them up again. So better to fix them when removing sctp_disposition_t in later patch. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/probe.c')
-rw-r--r--net/sctp/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c
index 6cc2152e0740..43837dfc86a7 100644
--- a/net/sctp/probe.c
+++ b/net/sctp/probe.c
@@ -130,7 +130,7 @@ static const struct file_operations sctpprobe_fops = {
static sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
const struct sctp_endpoint *ep,
const struct sctp_association *asoc,
- const sctp_subtype_t type,
+ const union sctp_subtype type,
void *arg,
sctp_cmd_seq_t *commands)
{