diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-06-15 11:11:07 +0300 |
|---|---|---|
| committer | Hans de Goede <hdegoede@redhat.com> | 2022-06-27 09:37:49 +0200 |
| commit | d7e64c6d9c60f8c72d46c82af185336eaa2a1989 (patch) | |
| tree | fe17e47cdfce65ecb3283a5178af06e2314ad4d5 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1024a6e0c004248b7041709741f92cfb76f59df8 (diff) | |
platform/mellanox: nvsw-sn2201: fix error code in nvsw_sn2201_create_static_devices()
This should return PTR_ERR() instead of IS_ERR(). Also "dev->client"
has been set to NULL by this point so it returns 0/success so preserve
the error code earlier.
Fixes: 662f24826f95 ("platform/mellanox: Add support for new SN2201 system")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Michael Shych <michaelsh@nvidia.com>
Link: https://lore.kernel.org/r/YqmUGwmPK7cPolk/@kili
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
