commit | 1312444374241f0e4dd0406ad8967a8b13bb6d69 | [log] [tgz] |
---|---|---|
author | Arkadi Sharshevsky <arkadis@mellanox.com> | Sat Mar 25 08:28:22 2017 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 25 19:56:15 2017 -0700 |
tree | 2d22aabd7b24372ecd830ff251ce5227a1133d45 | |
parent | 2239cc634395ecce69dd047be9104f71edc417b4 [diff] |
mlxsw: spectrum_kvdl: Cosmetic kvdl allocator API change Currently the return allocated index and err value are multiplexed. This patch changes the API to decouple the ret value from the allocated index. Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>