xfrm: Pass name as const to xfrm_*_get_byname().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user