]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/bnxt_re: Add compatibility checks to the uapi path for no data
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 3 Mar 2026 19:50:06 +0000 (15:50 -0400)
committerJason Gunthorpe <jgg@nvidia.com>
Sun, 8 Mar 2026 10:20:25 +0000 (06:20 -0400)
commit3f6b103c4bf25eace0e85fe8c0d3a7cd30b210a7
tree6d12021277e02d2a0aae5b4f952df590d6b0b792
parentb33d860a13b4f779a740b0c529d457f96d4688a8
RDMA/bnxt_re: Add compatibility checks to the uapi path for no data

If drivers ever want to go from an empty drvdata to something with them
they need to have called ib_is_udata_in_empty(). Add the missing calls to
all the system calls that don't have req structures.

Link: https://patch.msgid.link/r/9-v3-bd56dd443069+49-bnxt_re_uapi_jgg@nvidia.com
Tested-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Acked-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c