diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-26 00:48:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 00:48:17 -0700 |
commit | f5aa23fd49063745f85644dd7a9330acd706add6 (patch) | |
tree | 51ff4c7006fe7f7551b29f24ec1830e19dc7a278 /include/linux/netdevice.h | |
parent | 9c2f5746b9cd536f0007709196d85a7e7d0070fa (diff) | |
download | kernel-crypto-f5aa23fd49063745f85644dd7a9330acd706add6.tar.gz kernel-crypto-f5aa23fd49063745f85644dd7a9330acd706add6.tar.xz kernel-crypto-f5aa23fd49063745f85644dd7a9330acd706add6.zip |
[NETNS]: Compilation warnings under CONFIG_NET_NS.
Recent commits from YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
have been introduced a several compilation warnings
'assignment discards qualifiers from pointer target type'
due to extra const modifier in the inline call parameters of
{dev|sock|twsk}_net_set.
Drop it.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 06ca84d71db..15fa84a15c2 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -753,7 +753,7 @@ struct net *dev_net(const struct net_device *dev) } static inline -void dev_net_set(struct net_device *dev, const struct net *net) +void dev_net_set(struct net_device *dev, struct net *net) { #ifdef CONFIG_NET_NS dev->nd_net = net; |