Skip to content
Commit f7b4cf03 authored by Yuan Can's avatar Yuan Can Committed by Paolo Abeni
Browse files

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: 44c2fbeb ("mlxsw: spectrum_router: Share nexthop counters in resilient groups")
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Reviewed-by: default avatarPetr Machata <petrm@nvidia.com>
Reviewed-by: default avatarPrzemek Kitszel <przemyslaw.kitszel@intel.com>
Tested-by: default avatarPetr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20241017023223.74180-1-yuancan@huawei.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent fa287557
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment