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>
Showing
- net/ipv6/addrconf.c 23 additions, 30 deletionsnet/ipv6/addrconf.c
- net/ipv6/addrlabel.c 1 addition, 1 deletionnet/ipv6/addrlabel.c
- net/ipv6/af_inet6.c 5 additions, 9 deletionsnet/ipv6/af_inet6.c
- net/ipv6/ah6.c 9 additions, 7 deletionsnet/ipv6/ah6.c
- net/ipv6/esp6.c 6 additions, 4 deletionsnet/ipv6/esp6.c
- net/ipv6/icmp.c 4 additions, 4 deletionsnet/ipv6/icmp.c
- net/ipv6/ip6_fib.c 10 additions, 10 deletionsnet/ipv6/ip6_fib.c
- net/ipv6/ip6_tunnel.c 10 additions, 11 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/ip6mr.c 1 addition, 1 deletionnet/ipv6/ip6mr.c
- net/ipv6/ipcomp6.c 7 additions, 4 deletionsnet/ipv6/ipcomp6.c
- net/ipv6/mcast.c 1 addition, 2 deletionsnet/ipv6/mcast.c
- net/ipv6/mip6.c 15 additions, 15 deletionsnet/ipv6/mip6.c
- net/ipv6/ndisc.c 9 additions, 13 deletionsnet/ipv6/ndisc.c
- net/ipv6/route.c 5 additions, 3 deletionsnet/ipv6/route.c
- net/ipv6/sit.c 4 additions, 2 deletionsnet/ipv6/sit.c
- net/ipv6/tunnel6.c 6 additions, 4 deletionsnet/ipv6/tunnel6.c
Loading
Please register or sign in to comment