aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/subcmd/parse-options.c
diff options
context:
space:
mode:
authorYevgeny Kliteynik <kliteyn@nvidia.com>2024-09-16 14:13:39 +0300
committerSaeed Mahameed <saeedm@nvidia.com>2024-09-25 13:15:45 -0700
commitd15525f300109fac5477dce1b8fef244c5dc9ec3 (patch)
treee0fbc3bc24cff53233a931ee38160ff4ccbeee2c /tools/lib/subcmd/parse-options.c
parentd8c561741ef83980114b3f7f95ffac54600f3f16 (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/parse-options.c')
0 files changed, 0 insertions, 0 deletions