diff options
author | Petr Machata <petrm@nvidia.com> | 2024-03-08 13:59:48 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 14:14:07 -0700 |
commit | 8acb480e43c81bc72b528677084428cf2dc7a12c (patch) | |
tree | bea32faa447f236695c7c71965ecb9a0d82c7ca3 /drivers/net/can | |
parent | 64f962c65fe3a35ccd92557b6e3a45f327ad602a (diff) |
mlxsw: spectrum_router: Have mlxsw_sp_nexthop_counter_enable() return int
In order to be able to diagnose failures in counter allocation, have the
function mlxsw_sp_nexthop_counter_enable() return an error code.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/e0bb5c0cc6234ade2ade1e92abac991359c3f446.1709901020.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/can')
0 files changed, 0 insertions, 0 deletions