-
- Downloads
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>
Showing
- net/l2tp/l2tp_core.c 101 additions, 115 deletionsnet/l2tp/l2tp_core.c
- net/l2tp/l2tp_core.h 27 additions, 8 deletionsnet/l2tp/l2tp_core.h
- net/l2tp/l2tp_debugfs.c 4 additions, 2 deletionsnet/l2tp/l2tp_debugfs.c
- net/l2tp/l2tp_eth.c 5 additions, 10 deletionsnet/l2tp/l2tp_eth.c
- net/l2tp/l2tp_ip.c 5 additions, 10 deletionsnet/l2tp/l2tp_ip.c
- net/l2tp/l2tp_ip6.c 5 additions, 10 deletionsnet/l2tp/l2tp_ip6.c
- net/l2tp/l2tp_netlink.c 3 additions, 1 deletionnet/l2tp/l2tp_netlink.c
- net/l2tp/l2tp_ppp.c 63 additions, 65 deletionsnet/l2tp/l2tp_ppp.c
Loading
Please register or sign in to comment