]> 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)
commitf1ec0f4a2011907b385b4bf35514a31f886561d5
tree981ce5e855792d76ea440657948bef98465ca607
parent7ed0e8d8d97fe3ed98e02a3b03641608b3a1d3ee
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