]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx5: HWS, Fix an error code in mlx5hws_bwc_rule_create_complex()
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 23 May 2025 16:00:12 +0000 (19:00 +0300)
committerJakub Kicinski <kuba@kernel.org>
Wed, 28 May 2025 00:31:42 +0000 (17:31 -0700)
commita540ee75945a96f606c6ac955bfed5410d318f7d
treee46eeb17f552f65c1b5d149f165729c9af4e7895
parentc8ef20fe7274c5766a317f9193b70bed717b6b3d
net/mlx5: HWS, Fix an error code in mlx5hws_bwc_rule_create_complex()

This was intended to be negative -ENOMEM but the '-' character was left
off accidentally.  This typo doesn't affect runtime because the caller
treats all non-zero returns the same.

Fixes: 17e0accac577 ("net/mlx5: HWS, support complex matchers")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/aDCbjNcquNC68Hyj@stanley.mountain
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c