diff options
author | linzhang <xiaolou4617@gmail.com> | 2017-05-15 10:26:47 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-16 11:54:07 -0400 |
commit | 173e7837a20a4cb26d6097f6b968c17344b5189c (patch) | |
tree | 14fb6490d49b530234ea5f748b1d68bec8a0ee8b /net/kcm | |
parent | 9aef88ec85258ef958d0732c2622959f934882d2 (diff) | |
download | talos-obmc-linux-173e7837a20a4cb26d6097f6b968c17344b5189c.tar.gz talos-obmc-linux-173e7837a20a4cb26d6097f6b968c17344b5189c.zip |
net: socket: mark socket protocol handler structs as const
Signed-off-by: linzhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/kcm')
-rw-r--r-- | net/kcm/kcmsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/kcm/kcmsock.c b/net/kcm/kcmsock.c index deca20fb2ce2..da49191f7ad0 100644 --- a/net/kcm/kcmsock.c +++ b/net/kcm/kcmsock.c @@ -1985,7 +1985,7 @@ static int kcm_create(struct net *net, struct socket *sock, return 0; } -static struct net_proto_family kcm_family_ops = { +static const struct net_proto_family kcm_family_ops = { .family = PF_KCM, .create = kcm_create, .owner = THIS_MODULE, |