aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMike Marciniszyn <[email protected]>2016-06-22 13:29:33 -0700
committerDoug Ledford <[email protected]>2016-06-23 10:16:15 -0400
commitc755f4afa66ad3ed98870bd3254f37c47fb2c800 (patch)
treea395969f595da0bcc305d2b4400a7462402832bc /tools/perf/scripts/python/net_dropmonitor.py
parent8ae84f7c56044ee17ef6b700cb34d11ad9428a2e (diff)
IB/rdmavt: Correct qp_priv_alloc() return value test
The current drivers return errors from this calldown wrapped in an ERR_PTR(). The rdmavt code incorrectly tests for NULL. The code is fixed to use IS_ERR() and change ret according to the driver return value. Cc: Stable <[email protected]> # 4.6+ Reviewed-by: Dennis Dalessandro <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions