summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-02-28 08:04:45 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-28 08:04:45 +0100
commit6f2f19ed955e62a6789495da512d510f26ad4885 (patch)
tree5373980e8561b2bc5fe32212c02b78177eee33b7 /net/xfrm/xfrm_user.c
parentbond: service netpoll arp queue on master device (diff)
downloadlinux-6f2f19ed955e62a6789495da512d510f26ad4885.tar.xz
linux-6f2f19ed955e62a6789495da512d510f26ad4885.zip
xfrm: Pass name as const to xfrm_*_get_byname().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index b43c1b1240d4..673698d380d7 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -234,7 +234,7 @@ out:
}
static int attach_one_algo(struct xfrm_algo **algpp, u8 *props,
- struct xfrm_algo_desc *(*get_byname)(char *, int),
+ struct xfrm_algo_desc *(*get_byname)(const char *, int),
struct nlattr *rta)
{
struct xfrm_algo *p, *ualg;