diff options
author | Joe Perches <joe@perches.com> | 2014-12-10 17:18:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-10 21:21:24 +0100 |
commit | 14b7d95fd2288524c71aac48f3f7309fa6afa853 (patch) | |
tree | 7f60561f505d28378af57a0169aa2110abfcf026 /net/llc/llc_conn.c | |
parent | Merge branch 'kill_arch_fast_hash' (diff) | |
download | linux-14b7d95fd2288524c71aac48f3f7309fa6afa853.tar.xz linux-14b7d95fd2288524c71aac48f3f7309fa6afa853.zip |
llc: Make function pointer arrays const
It's better when function pointer arrays aren't modifiable.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_conn.c')
-rw-r--r-- | net/llc/llc_conn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c index 42dc2e45c921..75baa2b0574f 100644 --- a/net/llc/llc_conn.c +++ b/net/llc/llc_conn.c @@ -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++) { |