]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/efa: Fix typo in efa_alloc_mr()
authorJason Gunthorpe <jgg@nvidia.com>
Mon, 16 Feb 2026 15:02:47 +0000 (11:02 -0400)
committerLeon Romanovsky <leon@kernel.org>
Tue, 24 Feb 2026 10:01:32 +0000 (05:01 -0500)
commitf22c77ce49db0589103d96487dca56f5b2136362
tree1ab495239587abc345e3619ab8da4f7834147d43
parentfd80bd7105f88189f47d465ca8cb7d115570de30
RDMA/efa: Fix typo in efa_alloc_mr()

The pattern is to check the entire driver request space, not just
sizeof something unrelated.

Fixes: 40909f664d27 ("RDMA/efa: Add EFA verbs implementation")
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://patch.msgid.link/1-v1-83e918d69e73+a9-rdma_udata_rc_jgg@nvidia.com
Acked-by: Michael Margolin <mrgolin@amazon.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/efa/efa_verbs.c