include/linux/netdevice.h: Add netif_printk helpers
authorJoe Perches <joe@perches.com>
Tue, 9 Feb 2010 11:49:49 +0000 (11:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Feb 2010 21:27:45 +0000 (13:27 -0800)
Add macros to test a private structure for msg_enable bits
and the netif_msg_##bit to test and call netdev_printk if set

Simplifies logic in callers and adds message logging consistency

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

No differences found