]> git.karo-electronics.de Git - karo-tx-linux.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)
commita4ca44fa578c7c7fd123b7fba3c2c98d4ba4e53d
tree58be0839a0c08ee8eaff4fac160dfb70b6982a70
parent028940342a906db8da014a7603a0deddc2c323dd
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