aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorKrzysztof Opasiak <[email protected]>2016-04-27 20:00:26 +0200
committerGreg Kroah-Hartman <[email protected]>2016-04-28 12:28:08 -0700
commit2bdf6ea51ce8dcd98f4f394d7203dbace01f5cbc (patch)
tree57ed98b5a30012dd4171427e5feed488f0820531 /tools/perf/scripts/python/net_dropmonitor.py
parentf945c546656e4330665a69aa35ae6491025128fc (diff)
usb: usbip: vudc: Fix WARN_ON() usage pattern
Fix WARN_ON() macro usage as suggested by Felipe. Instead of using: if (cond) { WARN_ON(1); do_stuff(); } Use a better pattern with WARN_ON() placed in if condition: if (WARN_ON(cond)) do_stuff(); Signed-off-by: Krzysztof Opasiak <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions