RDMA/irdma: fix error message in irdma_modify_qp_roce()
Subsystems (3)
PATCH 1/1 RDMA/irdma: fix error message in irdma_modify_qp_roce()
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.
--- drivers/infiniband/hw/irdma/verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/infiniband/hw/irdma/verbs.c +1 -1
@@ -1324,7 +1324,7 @@ int irdma_modify_qp_roce(struct ib_qp *ibqp, struct ib_qp_attr *attr,if (attr->max_dest_rd_atomic > dev->hw_attrs.max_hw_ird) {ibdev_err (&iwdev->ibdev,"rd_atomic = %d, above max_hw_ird=%d\n" , - attr->max_rd_atomic, + attr->max_dest_rd_atomic, dev->hw_attrs.max_hw_ird);return -EINVAL ; }
Signature · 1 line
2.46.1
kernel test robot
build botFYI: kernel test robot notices the stable kernel rule is not satisfied.
Hi,
Thanks for your patch.
FYI: kernel test robot notices the stable kernel rule is not satisfied.
The check is based on https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html#option-1
Rule: add the tag "Cc: [email protected]" in the sign-off area to have the patch automatically included in the stable tree.
Subject: [PATCH] RDMA/irdma: fix error message in irdma_modify_qp_roce()
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
Leon Romanovsky
AppliedQuoted 6 lines · Vitaliy Shevtsov
Use a correct field
max_dest_rd_atomicinstead ofmax_rd_atomicfor the error output.Found by Linux Verification Center (linuxtesting.org) with Svace.
Applied, thanks!
[1/1] RDMA/irdma: fix error message in irdma_modify_qp_roce()
https://git.kernel.org/rdma/rdma/c/9f0eafe86ea0a5
Best regards,
Signature · 1 line
Leon Romanovsky <[email protected]>