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 <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Przemek Kitszel <[email protected]>
Tested-by: Petr Machata <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>1 parent fa28755 commit f7b4cf0
1 file changed
+3
-6
lines changed| 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