net: ipv6: Standardize prefixes for message logging
authorJoe Perches <joe@perches.com>
Tue, 15 May 2012 14:11:53 +0000 (14:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2012 05:01:03 +0000 (01:01 -0400)
commitf32138319ca6541e65f95f8e17c9cc88ac1baf94
tree20505f3d5955d89d3763a6182052a8e9b37eaf37
parent82251de2a2b7b84987dde104d48a765b63170149
net: ipv6: Standardize prefixes for message logging

Add #define pr_fmt(fmt) as appropriate.

Add "IPv6: " to appropriate files.

Convert printk(KERN_<LEVEL> to pr_<level> (but not KERN_DEBUG).
Standardize on "%s: " not "%s(): " when emitting __func__.
Use "%s: ", __func__ instead of embedding function name.
Coalesce formats, align arguments.

ADDRCONF output is now prefixed with "IPv6: "

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
16 files changed:
net/ipv6/addrconf.c
net/ipv6/addrlabel.c
net/ipv6/af_inet6.c
net/ipv6/ah6.c
net/ipv6/esp6.c
net/ipv6/icmp.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6mr.c
net/ipv6/ipcomp6.c
net/ipv6/mcast.c
net/ipv6/mip6.c
net/ipv6/ndisc.c
net/ipv6/route.c
net/ipv6/sit.c
net/ipv6/tunnel6.c