aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-08-18 13:05:05 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-19 19:29:23 +0100
commit95b358e4d9c7caad3a787f810265458ee477d0ef (patch)
tree289e4e407e37fd1f4c6a6dd90d90fa3e9485640d /tools/perf/scripts/python/export-to-postgresql.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 <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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions