mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
llc: Make function pointer arrays const
It's better when function pointer arrays aren't modifiable. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
b95bf1e0ea
commit
14b7d95fd2
3 changed files with 237 additions and 237 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue