]> git.ipfire.org Git - thirdparty/linux.git/commit
vfio: Move the remaining drivers to get_region_info_caps
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 7 Nov 2025 17:41:37 +0000 (13:41 -0400)
committerAlex Williamson <alex@shazbot.org>
Wed, 12 Nov 2025 22:06:41 +0000 (15:06 -0700)
commitdc10734610e29bb6464498e933fc0d622227153d
treec9033f40a932df65c6c77313ef710ffa6bbef044
parent182c62861ba5a2301c7178484d2f424aaae4283b
vfio: Move the remaining drivers to get_region_info_caps

Remove the duplicate code and change info to a pointer. caps are not used.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Pranjal Shrivastava <praan@google.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/21-v2-2a9e24d62f1b+e10a-vfio_get_region_info_op_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
drivers/vfio/cdx/main.c
drivers/vfio/fsl-mc/vfio_fsl_mc.c
samples/vfio-mdev/mdpy.c
samples/vfio-mdev/mtty.c