X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=crypto%2Fcrypto_user.c;h=1512e41cd93d74a4e7ab3fde6809e64468f797a8;hb=0b1b901b5a98bb36943d10820efc796f7cd45ff3;hp=dfd511fb39eecd48e0305a47fee8c4635aa50ab8;hpb=a36b32402a805033beed752ea85c5ed62586fe35;p=~andy%2Flinux diff --git a/crypto/crypto_user.c b/crypto/crypto_user.c index dfd511fb39e..1512e41cd93 100644 --- a/crypto/crypto_user.c +++ b/crypto/crypto_user.c @@ -440,7 +440,7 @@ static const struct nla_policy crypto_policy[CRYPTOCFGA_MAX+1] = { #undef MSGSIZE -static struct crypto_link { +static const struct crypto_link { int (*doit)(struct sk_buff *, struct nlmsghdr *, struct nlattr **); int (*dump)(struct sk_buff *, struct netlink_callback *); int (*done)(struct netlink_callback *); @@ -456,7 +456,7 @@ static struct crypto_link { static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) { struct nlattr *attrs[CRYPTOCFGA_MAX+1]; - struct crypto_link *link; + const struct crypto_link *link; int type, err; type = nlh->nlmsg_type;