diff options
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r-- | net/sctp/sm_sideeffect.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c index 5dda8c42b5f6..b77a81aa907b 100644 --- a/net/sctp/sm_sideeffect.c +++ b/net/sctp/sm_sideeffect.c | |||
@@ -53,7 +53,7 @@ | |||
53 | 53 | ||
54 | static int sctp_cmd_interpreter(sctp_event_t event_type, | 54 | static int sctp_cmd_interpreter(sctp_event_t event_type, |
55 | sctp_subtype_t subtype, | 55 | sctp_subtype_t subtype, |
56 | sctp_state_t state, | 56 | enum sctp_state state, |
57 | struct sctp_endpoint *ep, | 57 | struct sctp_endpoint *ep, |
58 | struct sctp_association *asoc, | 58 | struct sctp_association *asoc, |
59 | void *event_arg, | 59 | void *event_arg, |
@@ -61,7 +61,7 @@ static int sctp_cmd_interpreter(sctp_event_t event_type, | |||
61 | sctp_cmd_seq_t *commands, | 61 | sctp_cmd_seq_t *commands, |
62 | gfp_t gfp); | 62 | gfp_t gfp); |
63 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, | 63 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, |
64 | sctp_state_t state, | 64 | enum sctp_state state, |
65 | struct sctp_endpoint *ep, | 65 | struct sctp_endpoint *ep, |
66 | struct sctp_association **asoc, | 66 | struct sctp_association **asoc, |
67 | void *event_arg, | 67 | void *event_arg, |
@@ -843,7 +843,7 @@ static void sctp_cmd_assoc_update(sctp_cmd_seq_t *cmds, | |||
843 | /* Helper function to change the state of an association. */ | 843 | /* Helper function to change the state of an association. */ |
844 | static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds, | 844 | static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds, |
845 | struct sctp_association *asoc, | 845 | struct sctp_association *asoc, |
846 | sctp_state_t state) | 846 | enum sctp_state state) |
847 | { | 847 | { |
848 | struct sock *sk = asoc->base.sk; | 848 | struct sock *sk = asoc->base.sk; |
849 | 849 | ||
@@ -1140,7 +1140,7 @@ static void sctp_cmd_send_asconf(struct sctp_association *asoc) | |||
1140 | * good place to start. | 1140 | * good place to start. |
1141 | */ | 1141 | */ |
1142 | int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, | 1142 | int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, |
1143 | sctp_state_t state, | 1143 | enum sctp_state state, |
1144 | struct sctp_endpoint *ep, | 1144 | struct sctp_endpoint *ep, |
1145 | struct sctp_association *asoc, | 1145 | struct sctp_association *asoc, |
1146 | void *event_arg, | 1146 | void *event_arg, |
@@ -1179,7 +1179,7 @@ int sctp_do_sm(struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, | |||
1179 | * This the master state function side effect processing function. | 1179 | * This the master state function side effect processing function. |
1180 | *****************************************************************/ | 1180 | *****************************************************************/ |
1181 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, | 1181 | static int sctp_side_effects(sctp_event_t event_type, sctp_subtype_t subtype, |
1182 | sctp_state_t state, | 1182 | enum sctp_state state, |
1183 | struct sctp_endpoint *ep, | 1183 | struct sctp_endpoint *ep, |
1184 | struct sctp_association **asoc, | 1184 | struct sctp_association **asoc, |
1185 | void *event_arg, | 1185 | void *event_arg, |
@@ -1265,7 +1265,7 @@ bail: | |||
1265 | /* This is the side-effect interpreter. */ | 1265 | /* This is the side-effect interpreter. */ |
1266 | static int sctp_cmd_interpreter(sctp_event_t event_type, | 1266 | static int sctp_cmd_interpreter(sctp_event_t event_type, |
1267 | sctp_subtype_t subtype, | 1267 | sctp_subtype_t subtype, |
1268 | sctp_state_t state, | 1268 | enum sctp_state state, |
1269 | struct sctp_endpoint *ep, | 1269 | struct sctp_endpoint *ep, |
1270 | struct sctp_association *asoc, | 1270 | struct sctp_association *asoc, |
1271 | void *event_arg, | 1271 | void *event_arg, |