]> Git Repo - linux.git/commit
mlxsw: spectrum_router: fix xa_store() error checking
authorYuan Can <[email protected]>
Thu, 17 Oct 2024 02:32:23 +0000 (10:32 +0800)
committerPaolo Abeni <[email protected]>
Tue, 22 Oct 2024 11:01:55 +0000 (13:01 +0200)
commitf7b4cf0306bbea500a613e4b618576452c1df4ba
tree3598cff1f1cb8b57f3e30df827e1439b17c70dd7
parentfa287557e6d41ee224ab82baa73b538e6031b0ed
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 <[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]>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
This page took 0.048326 seconds and 4 git commands to generate.