From: David S. Miller Date: Thu, 24 Feb 2011 06:22:48 +0000 (-0500) Subject: xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype. X-Git-Tag: firefly_0821_release~7613^2~2196^2~262 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0b597e7edfd865cce7b18e71989a992ad0ca898e;p=firefly-linux-kernel-4.4.55.git xfrm: Const'ify local xfrm_address_t pointers in xfrm_policy_lookup_bytype. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 0c503be3260c..d09766893d18 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -894,7 +894,7 @@ static struct xfrm_policy *xfrm_policy_lookup_bytype(struct net *net, u8 type, { int err; struct xfrm_policy *pol, *ret; - xfrm_address_t *daddr, *saddr; + const xfrm_address_t *daddr, *saddr; struct hlist_node *entry; struct hlist_head *chain; u32 priority = ~0U;