diff options
author | Yuan Can <yuancan@huawei.com> | 2024-10-17 10:32:23 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-22 13:01:55 +0200 |
commit | f7b4cf0306bbea500a613e4b618576452c1df4ba (patch) | |
tree | 3598cff1f1cb8b57f3e30df827e1439b17c70dd7 /drivers/fpga/tests/fpga-bridge-test.c | |
parent | fa287557e6d41ee224ab82baa73b538e6031b0ed (diff) |
mlxsw: spectrum_router: fix xa_store() error checking
It is meant to use xa_err() to extract the error encoded in the return
value of xa_store().
Fixes: 44c2fbebe18a ("mlxsw: spectrum_router: Share nexthop counters in resilient groups")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20241017023223.74180-1-yuancan@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions