diff options
author | Xin Long <lucien.xin@gmail.com> | 2018-11-18 16:08:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-19 12:25:43 -0800 |
commit | 88ee48c1f3b7092414fb93c3cf0838ba24f62e16 (patch) | |
tree | 331ae7349e65b47df8ef6f0c7c77b22a01a7a910 /net/sctp/primitive.c | |
parent | a1e3a0590f9bd232f3a03fd87226a4a99bd5ec92 (diff) | |
download | lwn-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.tar.gz lwn-88ee48c1f3b7092414fb93c3cf0838ba24f62e16.zip |
sctp: rename enum sctp_event to sctp_event_type
sctp_event is a structure name defined in RFC for sockopt
SCTP_EVENT. To avoid the conflict, rename it.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/primitive.c')
-rw-r--r-- | net/sctp/primitive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c index c0817f7a8964..a8c4c33377bc 100644 --- a/net/sctp/primitive.c +++ b/net/sctp/primitive.c @@ -53,7 +53,7 @@ int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \ void *arg) { \ int error = 0; \ - enum sctp_event event_type; union sctp_subtype subtype; \ + enum sctp_event_type event_type; union sctp_subtype subtype; \ enum sctp_state state; \ struct sctp_endpoint *ep; \ \ |