commit | c41c0dd7a641cb28f7239e7086419741af78c448 | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Fri May 11 11:57:31 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri May 11 16:01:24 2018 -0400 |
tree | 37a8644baea05208c1a09c4c51afd4d9811d86c6 | |
parent | fc74ecbc293cba27fd8adee7a18fbda2f8d9e285 [diff] |
mlxsw: spectrum_span: Use a more fitting error code ENOENT is suitable when an item is looked for in a collection and can't be found. The failure here is actually a depletion of a resource, where ENOBUFS is the more fitting error code. Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>