]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/irdma: fix error message in irdma_modify_qp_roce()
authorVitaliy Shevtsov <v.shevtsov@maxima.ru>
Mon, 16 Sep 2024 16:58:05 +0000 (21:58 +0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:34 +0000 (16:29 +0200)
commitb15dd2aa7987e89a2a889a4c241ad9c4a354e689
tree58de03f36ee512f9bf15a626271aa05ef69a81c8
parent0d50ae281a1712b9b2ca72830a96b8f11882358d
RDMA/irdma: fix error message in irdma_modify_qp_roce()

[ Upstream commit 9f0eafe86ea0a589676209d0cff1a1ed49a037d3 ]

Use a correct field max_dest_rd_atomic instead of max_rd_atomic for the
error output.

Found by Linux Verification Center (linuxtesting.org) with Svace.

Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Signed-off-by: Vitaliy Shevtsov <v.shevtsov@maxima.ru>
Link: https://lore.kernel.org/stable/20240916165817.14691-1-v.shevtsov%40maxima.ru
Link: https://patch.msgid.link/20240916165817.14691-1-v.shevtsov@maxima.ru
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/irdma/verbs.c