diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2024-09-16 14:13:39 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2024-09-25 13:15:45 -0700 |
commit | d15525f300109fac5477dce1b8fef244c5dc9ec3 (patch) | |
tree | e0fbc3bc24cff53233a931ee38160ff4ccbeee2c /tools/lib/subcmd/run-command.c | |
parent | d8c561741ef83980114b3f7f95ffac54600f3f16 (diff) |
net/mlx5: HWS, changed E2BIG error to a negative return code
Fixed all the 'E2BIG' returns in error flow of functions to
the negative '-E2BIG' as we are using negative error codes
everywhere in HWS code.
This also fixes the following smatch warnings:
"warn: was negative '-E2BIG' intended?"
Fixes: 74a778b4a63f ("net/mlx5: HWS, added definers handling")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/all/f8c77688-7d83-4937-baba-ac844dfe2e0b@stanley.mountain/
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/lib/subcmd/run-command.c')
0 files changed, 0 insertions, 0 deletions