diff options
author | Petr Machata <petrm@mellanox.com> | 2018-05-11 11:57:31 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-11 16:01:24 -0400 |
commit | c41c0dd7a641cb28f7239e7086419741af78c448 (patch) | |
tree | 37a8644baea05208c1a09c4c51afd4d9811d86c6 /scripts/bpf_helpers_doc.py | |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions