]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/ocrdma: Clarify the mm_head searching
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 28 Apr 2026 16:17:41 +0000 (13:17 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Sat, 2 May 2026 18:30:48 +0000 (15:30 -0300)
commitea4e4b168a531c522d2850719816b6f583b1738b
tree07460d2602cc577753ffce35969d738ac3eef957
parent6aaa978c6b6218cfac15fe1dab17c76fe229ce3f
RDMA/ocrdma: Clarify the mm_head searching

The intention of this code is to find matching entries exactly, the driver
never creates phys_addr's with different lens so the current expression is
not a bug, but it doesn't make sense and confuses review tooling.

Search for exact match instead.

Link: https://sashiko.dev/#/patchset/0-v1-e911b76a94d1%2B65d95-rdma_udata_rep_jgg%40nvidia.com?part=4
Link: https://patch.msgid.link/r/8-v1-41f3135e5565+9d2-rdma_ai_fixes1_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c