projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b42835d
)
pfkey: fix warning
author
Stephen Hemminger
<shemminger@vyatta.com>
Wed, 2 Mar 2011 06:51:52 +0000
(22:51 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Mar 2011 06:51:52 +0000
(22:51 -0800)
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>
net/key/af_key.c
patch
|
blob
|
blame
|
history
diff --git
a/net/key/af_key.c
b/net/key/af_key.c
index 7fb54577f5bde60b9d57129354e1f1ed42f2f4b6..7db86ffcf0705be6a5eaf02002fc2a90fd58bedf 100644
(file)
--- a/
net/key/af_key.c
+++ b/
net/key/af_key.c
@@
-2560,7
+2560,7
@@
static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
}
#else
static int pfkey_migrate(struct sock *sk, struct sk_buff *skb,
-
struct sadb_msg *hdr, void *
*ext_hdrs)
+
const struct sadb_msg *hdr, void * const
*ext_hdrs)
{
return -ENOPROTOOPT;
}