Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[firefly-linux-kernel-4.4.55.git] / net / llc / llc_conn.c
index 42dc2e45c921853bedea8987078b088a724e6fb5..81a61fce3afbfee10bd4e20ffecb4f861364c121 100644 (file)
@@ -406,7 +406,7 @@ static struct llc_conn_state_trans *llc_qualify_conn_ev(struct sock *sk,
                                                        struct sk_buff *skb)
 {
        struct llc_conn_state_trans **next_trans;
-       llc_conn_ev_qfyr_t *next_qualifier;
+       const llc_conn_ev_qfyr_t *next_qualifier;
        struct llc_conn_state_ev *ev = llc_conn_ev(skb);
        struct llc_sock *llc = llc_sk(sk);
        struct llc_conn_state *curr_state =
@@ -454,7 +454,7 @@ static int llc_exec_conn_trans_actions(struct sock *sk,
                                       struct sk_buff *skb)
 {
        int rc = 0;
-       llc_conn_action_t *next_action;
+       const llc_conn_action_t *next_action;
 
        for (next_action = trans->ev_actions;
             next_action && *next_action; next_action++) {