summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-12-10 20:55:50 +0300
committerDavid S. Miller <davem@davemloft.net>2014-12-10 23:21:24 +0300
commit22bbf5f3e4e4db4a94f18d7b1ba21b5bd5fd934b (patch)
tree2cebf757144a87b4fbfc3d4feebc4cb61338cd61 /include/net
parent9b373069350d747c4e7ad7ea59f0fa348e860383 (diff)
downloadlinux-22bbf5f3e4e4db4a94f18d7b1ba21b5bd5fd934b.tar.xz
llc: Make llc_sap_action_t function pointer arrays const
It's better when function pointer arrays aren't modifiable. Net change: $ size net/llc/built-in.o.* text data bss dec hex filename 61193 12758 1344 75295 1261f net/llc/built-in.o.new 47113 27030 1344 75487 126df net/llc/built-in.o.old Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/llc_s_st.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/llc_s_st.h b/include/net/llc_s_st.h
index 567c681f1f3e..c4359e203013 100644
--- a/include/net/llc_s_st.h
+++ b/include/net/llc_s_st.h
@@ -19,7 +19,7 @@
struct llc_sap_state_trans {
llc_sap_ev_t ev;
u8 next_state;
- llc_sap_action_t *ev_actions;
+ const llc_sap_action_t *ev_actions;
};
struct llc_sap_state {