summaryrefslogtreecommitdiffstats
path: root/net/sctp/probe.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-08-11 10:23:57 +0800
committerDavid S. Miller <davem@davemloft.net>2017-08-11 10:02:44 -0700
commit172a1599ba88df7147f6503a75686fb89c8a1f3f (patch)
tree648a935f2ba80deaf06b7fc671cc83a4a125fbbd /net/sctp/probe.c
parent8ee821aea39c6bf4142c9319adecea6d3e1af4a2 (diff)
downloadop-kernel-dev-172a1599ba88df7147f6503a75686fb89c8a1f3f.zip
op-kernel-dev-172a1599ba88df7147f6503a75686fb89c8a1f3f.tar.gz
sctp: remove the typedef sctp_disposition_t
This patch is to remove the typedef sctp_disposition_t, and replace with enum sctp_disposition in the places where it's using this typedef. It's also to fix the indent for many functions' defination. 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.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/net/sctp/probe.c b/net/sctp/probe.c
index 34097a1..1280f85 100644
--- a/net/sctp/probe.c
+++ b/net/sctp/probe.c
@@ -127,12 +127,13 @@ static const struct file_operations sctpprobe_fops = {
.llseek = noop_llseek,
};
-static sctp_disposition_t jsctp_sf_eat_sack(struct net *net,
- const struct sctp_endpoint *ep,
- const struct sctp_association *asoc,
- const union sctp_subtype type,
- void *arg,
- struct sctp_cmd_seq *commands)
+static enum sctp_disposition jsctp_sf_eat_sack(
+ struct net *net,
+ const struct sctp_endpoint *ep,
+ const struct sctp_association *asoc,
+ const union sctp_subtype type,
+ void *arg,
+ struct sctp_cmd_seq *commands)
{
struct sctp_chunk *chunk = arg;
struct sk_buff *skb = chunk->skb;
OpenPOWER on IntegriCloud