From: David S. Miller Date: Thu, 24 Feb 2011 06:50:12 +0000 (-0500) Subject: xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=046860138e3f244d19e59c4fb1ef637803f3abbf;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate. Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index 0383d83555d5..ac6c48a486e4 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c @@ -658,7 +658,7 @@ EXPORT_SYMBOL(xfrm_sad_getinfo); static int xfrm_init_tempstate(struct xfrm_state *x, const struct flowi *fl, - struct xfrm_tmpl *tmpl, + const struct xfrm_tmpl *tmpl, xfrm_address_t *daddr, xfrm_address_t *saddr, unsigned short family) {