From: David S. Miller Date: Thu, 24 Feb 2011 05:19:59 +0000 (-0500) Subject: xfrm: Const'ify address argument to xfrm_addr_any() X-Git-Tag: firefly_0821_release~7613^2~2196^2~267 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6cc329610f2a1698576a2a8a94dbad8f82a66363;p=firefly-linux-kernel-4.4.55.git xfrm: Const'ify address argument to xfrm_addr_any() Signed-off-by: David S. Miller --- diff --git a/include/net/xfrm.h b/include/net/xfrm.h index 1c82b944803a..b60f9564fb8d 100644 --- a/include/net/xfrm.h +++ b/include/net/xfrm.h @@ -954,7 +954,7 @@ secpath_reset(struct sk_buff *skb) } static inline int -xfrm_addr_any(xfrm_address_t *addr, unsigned short family) +xfrm_addr_any(const xfrm_address_t *addr, unsigned short family) { switch (family) { case AF_INET: