Commit f7b4cf0
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: 44c2fbe ("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>1 parent fa28755 commit f7b4cf0
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3197 | 3197 | | |
3198 | 3198 | | |
3199 | 3199 | | |
3200 | | - | |
3201 | 3200 | | |
3202 | 3201 | | |
3203 | 3202 | | |
| |||
3210 | 3209 | | |
3211 | 3210 | | |
3212 | 3211 | | |
3213 | | - | |
3214 | | - | |
3215 | | - | |
3216 | | - | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
3217 | 3215 | | |
3218 | | - | |
3219 | 3216 | | |
3220 | 3217 | | |
3221 | 3218 | | |
| |||
0 commit comments