diff options
| author | Michael Guralnik <michaelgur@nvidia.com> | 2026-08-11 09:16:37 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-08-13 13:34:37 +0200 |
| commit | 03a105c83243a8c9cc147a44a7ec7bfd4c10ee8c (patch) | |
| tree | 3359112e0cadf291a6cf46f75d66e8a53c2dc31e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 379122479ba7b30daa6c858a254316f2bcd13240 (diff) | |
net/mlx5: rsc_dump and hv_vhca return NULL on create error
All callers of these create functions treat NULL and ERR_PTR as
equivalent error cases. Align the return convention to NULL-on-failure
to simplify the checks at usage sites.
Since its return value is never checked and failure is non-fatal, change
hv_vhca init function to return void.
Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Reviewed-by: Shay Drori <shayd@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260811061637.3195320-1-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
