tun: Convert logging messages to pr_<level> and tun_debug
authorJoe Perches <joe@perches.com>
Wed, 2 Mar 2011 07:18:10 +0000 (07:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2011 20:21:14 +0000 (12:21 -0800)
commit6b8a66ee919e40111e3d257b2c22b5773e34ead1
treed8cb1d278ae51402c2f509f1049239c8e05dcb3d
parent8d77c036b57cf813d838f859e11b6a188acdb1fb
tun: Convert logging messages to pr_<level> and tun_debug

Use the current logging forms with pr_fmt.
Convert DBG macro to tun_debug, use netdev_printk as well.
Add printf verification when TUN_DEBUG not defined.
Miscellaneous comment typo fix.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c