summaryrefslogtreecommitdiff
path: root/net/llc/llc_conn.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-10 19:18:50 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-10 23:21:24 +0300
commit14b7d95fd2288524c71aac48f3f7309fa6afa853 (patch)
tree7f60561f505d28378af57a0169aa2110abfcf026 /net/llc/llc_conn.c
parentb95bf1e0ea724f4004faae0cc6685c06379157c3 (diff)
downloadlinux-14b7d95fd2288524c71aac48f3f7309fa6afa853.tar.xz
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.c2
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++) {