summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-18 08:05:05 +0300
committerDavid S. Miller <davem@davemloft.net>2023-08-19 21:29:23 +0300
commit95b358e4d9c7caad3a787f810265458ee477d0ef (patch)
tree289e4e407e37fd1f4c6a6dd90d90fa3e9485640d /tools/perf/scripts/python/exported-sql-viewer.py
parentab104318f63997113b0ce7ac288e51359925ed79 (diff)
downloadlinux-95b358e4d9c7caad3a787f810265458ee477d0ef.tar.xz
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 <ruanjinjie@huawei.com> Suggested-by: Simon Horman <horms@kernel.org> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions