net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debug
Use the current debugging style and enable dynamic_debug. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
f32138319c
commit
91df42bedc
@@ -62,7 +62,7 @@ MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_NETDEV("ip6tnl0");
|
||||
|
||||
#ifdef IP6_TNL_DEBUG
|
||||
#define IP6_TNL_TRACE(x...) printk(KERN_DEBUG "%s:" x "\n", __func__)
|
||||
#define IP6_TNL_TRACE(x...) pr_debug("%s:" x "\n", __func__)
|
||||
#else
|
||||
#define IP6_TNL_TRACE(x...) do {;} while(0)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user