net/ipv6/addrconf.c: Checkpatch cleanups
net/ipv6/addrconf.c:340: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable net/ipv6/addrconf.c:342: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:444: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:1337: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable net/ipv6/addrconf.c:1526: ERROR: "(foo*)" should be "(foo *)" net/ipv6/addrconf.c:1671: ERROR: open brace '{' following function declarations go on the next line net/ipv6/addrconf.c:1914: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:2368: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:2370: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:2416: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:2437: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:2573: ERROR: "foo * bar" should be "foo *bar" net/ipv6/addrconf.c:3797: ERROR: "foo* bar" should be "foo *bar" Signed-off-by: Eldad Zack <eldad@fogrefinery.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Родитель
a2d91a09da
Коммит
8e5e8f30d0
|
@ -336,7 +336,6 @@ void in6_dev_finish_destroy(struct inet6_dev *idev)
|
||||||
snmp6_free_dev(idev);
|
snmp6_free_dev(idev);
|
||||||
kfree_rcu(idev, rcu);
|
kfree_rcu(idev, rcu);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(in6_dev_finish_destroy);
|
EXPORT_SYMBOL(in6_dev_finish_destroy);
|
||||||
|
|
||||||
static struct inet6_dev *ipv6_add_dev(struct net_device *dev)
|
static struct inet6_dev *ipv6_add_dev(struct net_device *dev)
|
||||||
|
@ -1333,7 +1332,6 @@ int ipv6_chk_prefix(const struct in6_addr *addr, struct net_device *dev)
|
||||||
rcu_read_unlock();
|
rcu_read_unlock();
|
||||||
return onlink;
|
return onlink;
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(ipv6_chk_prefix);
|
EXPORT_SYMBOL(ipv6_chk_prefix);
|
||||||
|
|
||||||
struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *addr,
|
struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *addr,
|
||||||
|
@ -1668,7 +1666,8 @@ out:
|
||||||
in6_dev_put(idev);
|
in6_dev_put(idev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int __ipv6_try_regen_rndid(struct inet6_dev *idev, struct in6_addr *tmpaddr) {
|
static int __ipv6_try_regen_rndid(struct inet6_dev *idev, struct in6_addr *tmpaddr)
|
||||||
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
|
||||||
if (tmpaddr && memcmp(idev->rndid, &tmpaddr->s6_addr[8], 8) == 0)
|
if (tmpaddr && memcmp(idev->rndid, &tmpaddr->s6_addr[8], 8) == 0)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче