diff options
| author | Dan Carpenter <[email protected]> | 2022-08-26 18:03:30 +0300 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-08-30 23:17:39 -0700 |
| commit | 57688eb887af3db7f1d7f43f2c1babb548b01a34 (patch) | |
| tree | aea59d6a29206217ee613743982940bfe2af0d92 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 92f97c00f0ca538fe820c0b18b6f957a69410689 (diff) | |
mlxsw: minimal: Return -ENOMEM on allocation failure
These error paths return success but they should return -ENOMEM.
Fixes: 01328e23a476 ("mlxsw: minimal: Extend module to port mapping with slot index")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/YwjgwoJ3M7Kdq9VK@kili
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions