aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-18 13:05:05 +0800
committerDavid S. Miller <[email protected]>2023-08-19 19:29:23 +0100
commit95b358e4d9c7caad3a787f810265458ee477d0ef (patch)
tree289e4e407e37fd1f4c6a6dd90d90fa3e9485640d /tools/perf/scripts/python/event_analyzing_sample.py
parentab104318f63997113b0ce7ac288e51359925ed79 (diff)
net: microchip: sparx5: Update return value check for vcap_get_rule()
As Simon Horman suggests, update vcap_get_rule() to always return an ERR_PTR() and update the error detection conditions to use IS_ERR(), so use IS_ERR() to check the return value. Signed-off-by: Ruan Jinjie <[email protected]> Suggested-by: Simon Horman <[email protected]> Reviewed-by: Leon Romanovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions