diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-28 08:04:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-28 08:04:45 +0100 |
commit | 6f2f19ed955e62a6789495da512d510f26ad4885 (patch) | |
tree | 5373980e8561b2bc5fe32212c02b78177eee33b7 /net/xfrm/xfrm_user.c | |
parent | bond: service netpoll arp queue on master device (diff) | |
download | linux-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.c | 2 |
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; |