diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-27 23:04:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-27 23:04:45 -0800 |
commit | 6f2f19ed955e62a6789495da512d510f26ad4885 (patch) | |
tree | 5373980e8561b2bc5fe32212c02b78177eee33b7 /net/xfrm/xfrm_user.c | |
parent | 5a698af53fb85b92d6462939a2c75ec4c7233bb9 (diff) | |
download | op-kernel-dev-6f2f19ed955e62a6789495da512d510f26ad4885.zip op-kernel-dev-6f2f19ed955e62a6789495da512d510f26ad4885.tar.gz |
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 b43c1b1..673698d 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; |