diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-28 02:04:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-28 02:04:45 -0500 |
commit | 6f2f19ed955e62a6789495da512d510f26ad4885 (patch) | |
tree | 5373980e8561b2bc5fe32212c02b78177eee33b7 /net/xfrm/xfrm_user.c | |
parent | 5a698af53fb85b92d6462939a2c75ec4c7233bb9 (diff) |
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: | |||
234 | } | 234 | } |
235 | 235 | ||
236 | static int attach_one_algo(struct xfrm_algo **algpp, u8 *props, | 236 | static int attach_one_algo(struct xfrm_algo **algpp, u8 *props, |
237 | struct xfrm_algo_desc *(*get_byname)(char *, int), | 237 | struct xfrm_algo_desc *(*get_byname)(const char *, int), |
238 | struct nlattr *rta) | 238 | struct nlattr *rta) |
239 | { | 239 | { |
240 | struct xfrm_algo *p, *ualg; | 240 | struct xfrm_algo *p, *ualg; |