Commit a1493d9c authored by David S. Miller's avatar David S. Miller

[IPV6] addrconf: Do not print device pointer in privacy log message.

Noticed by Andi Kleen, it is pointless to emit the device
structure pointer in the kernel logs like this.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd610457
...@@ -379,8 +379,8 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) ...@@ -379,8 +379,8 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
dev->type == ARPHRD_NONE || dev->type == ARPHRD_NONE ||
dev->type == ARPHRD_SIT) { dev->type == ARPHRD_SIT) {
printk(KERN_INFO printk(KERN_INFO
"Disabled Privacy Extensions on device %p(%s)\n", "%s: Disabled Privacy Extensions\n",
dev, dev->name); dev->name);
ndev->cnf.use_tempaddr = -1; ndev->cnf.use_tempaddr = -1;
} else { } else {
in6_dev_hold(ndev); in6_dev_hold(ndev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment