ppp: Clean up kernel log messages.
commitb48f8c23c336d82c1af9a53187568bdb6e86b8a8
authorDavid S. Miller <davem@davemloft.net>
Fri, 21 Jan 2011 06:44:36 +0000 (20 22:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jan 2011 06:44:36 +0000 (20 22:44 -0800)
tree0b85bd00081dee2dd410ec8e9f825eacf92223c2
parentd18046b3cd989c06d2ad8d615e57c3cf63c63b67
ppp: Clean up kernel log messages.

Use netdev_*() and pr_*().

To preserve existing semantics in cases where KERN_DEBUG is indeed
appropriate, use netdev_printk(KERN_DEBUG, ...)

Convert PPPIOCDETACH to pr_warn() because an unexpected file count is
a serious bug and should be logged with KERN_WARN.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/net/ppp_generic.c