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:
cd61045
)
[IPV6] addrconf: Do not print device pointer in privacy log message.
author
David S. Miller
<davem@davemloft.net>
Wed, 14 Dec 2005 06:59:36 +0000
(22:59 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 14 Dec 2005 06:59:36 +0000
(22:59 -0800)
Noticed by Andi Kleen, it is pointless to emit the device
structure pointer in the kernel logs like this.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/addrconf.c
b/net/ipv6/addrconf.c
index 76ff9f4fe89d7258895df5bc32857f64d6d603cf..73a23b4130a57fa41f82334ccc96bf6e35709e6f 100644
(file)
--- a/
net/ipv6/addrconf.c
+++ b/
net/ipv6/addrconf.c
@@
-379,8
+379,8
@@
static struct inet6_dev * ipv6_add_dev(struct net_device *dev)
dev->type == ARPHRD_NONE ||
dev->type == ARPHRD_SIT) {
printk(KERN_INFO
-
"Disabled Privacy Extensions on device %p(%s)
\n",
-
dev,
dev->name);
+
"%s: Disabled Privacy Extensions
\n",
+ dev->name);
ndev->cnf.use_tempaddr = -1;
} else {
in6_dev_hold(ndev);