Commit 7f6daa635c28ed686835a4080269e3fdc5a01012

Authored by Stephen Hemminger
Committed by David S. Miller
1 parent b42835dbe8

pfkey: fix warning

If CONFIG_NET_KEY_MIGRATE is not defined the arguments of
pfkey_migrate stub do not match causing warning.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -2560,7 +2560,7 @@
2560 2560 }
2561 2561 #else
2562 2562 static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
2563   - struct sadb_msg *hdr, void **ext_hdrs)
  2563 + const struct sadb_msg *hdr, void * const *ext_hdrs)
2564 2564 {
2565 2565 return -ENOPROTOOPT;
2566 2566 }