Skip to contentSkip to conversation

xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.

PATCH New David Miller 1 participant 1 message Feb 24, 2011

Subsystems (3)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 23/26 xfrm: Const'ify xfrm_tmpl arg to xfrm_init_tempstate.

---
 net/xfrm/xfrm_state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/xfrm/xfrm_state.c +1 -1
index 0383d83..ac6c48a 100644
@@ -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)
 {
Signature · 1 line
1.7.4.1