diff options
author | David S. Miller <davem@davemloft.net> | 2023-08-19 19:29:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-08-19 19:29:23 +0100 |
commit | 85c786340a65eb059183a5c3c6fab8664e1f6e8a (patch) | |
tree | 289e4e407e37fd1f4c6a6dd90d90fa3e9485640d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 44a696de720d6917f1d1844a05757624295b81c0 (diff) | |
parent | 95b358e4d9c7caad3a787f810265458ee477d0ef (diff) |
Merge branch 'vcap_get_rule-return-value'
Ruan Jinjie says:
====================
net: Update and fix 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(), which would be more cleaner.
So se IS_ERR() to update the return value and fix the issue
in lan966x_ptp_add_trap().
Changes in v2:
- Update vcap_get_rule() to always return an ERR_PTR().
- Update the return value fix in lan966x_ptp_add_trap().
- Update the return value check in sparx5_tc_free_rule_resources().
====================
Reviewed-by: Simon Horman <horms@kernel.org>
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