]> git.baikalelectronics.ru Git - kernel.git/commit
net: l2tp: Standardize logging styles
authorJoe Perches <joe@perches.com>
Wed, 16 May 2012 09:55:56 +0000 (09:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2012 08:34:38 +0000 (04:34 -0400)
commit968b1b7eb9472ac8554457c9d392a2014d061211
tree58be0839a0c08ee8eaff4fac160dfb70b6982a70
parent653a96aa9c71fd386a1275c65fffc0ffa7f8d243
net: l2tp: Standardize logging styles

Use more current logging styles.

Add pr_fmt to prefix output appropriately.
Convert printks to pr_<level>.
Convert PRINTK macros to new l2tp_<level> macros.
Neaten some <foo>_refcount debugging macros.
Use print_hex_dump_bytes instead of hand-coded loops.
Coalesce formats and align arguments.

Some KERN_DEBUG output is not now emitted unless
dynamic_debugging is enabled.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h
net/l2tp/l2tp_debugfs.c
net/l2tp/l2tp_eth.c
net/l2tp/l2tp_ip.c
net/l2tp/l2tp_ip6.c
net/l2tp/l2tp_netlink.c
net/l2tp/l2tp_ppp.c