]> git.baikalelectronics.ru Git - kernel.git/commit
net: implement netif_cond_dbg macro
authorEdward Cree <ecree@solarflare.com>
Fri, 27 Jan 2017 15:02:26 +0000 (15:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2017 16:59:31 +0000 (11:59 -0500)
commit4f10b7434fae7039f95d4cc8d28c0111ee03c7d9
tree981ce5e855792d76ea440657948bef98465ca607
parent34f920de02aa8417b43996a5aa470ef95517abbd
net: implement netif_cond_dbg macro

For reporting things that may or may not be serious, depending on some
 condition, netif_cond_dbg will check the condition and print the report
 at either dbg (if the condition is true) or the specified level.

Suggested-by: Jon Cooper <jcooper@solarflare.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h