commit | b3d95c5c93d4b57eaea0ad3f582b08a6b5fb3eb1 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Tue Feb 09 11:49:49 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 12 13:27:45 2010 -0800 |
tree | 3dc48783dc30ed1769b3a50c18861eadd2b67136 | |
parent | ba211e3ec35820eced89bfe12e2d94e6352a4c5f [diff] |
include/linux/netdevice.h: Add netif_printk helpers 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>