]> git.karo-electronics.de Git - karo-tx-linux.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)
commitf617f27653c4d9f5b2aa43d567ac0405df889944
tree981ce5e855792d76ea440657948bef98465ca607
parent2d3d4ec01641148636f8961ccd64308dbf2072f4
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