]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: Fold VFIO_GROUP_GET_DEVICE_FD into vfio_group_get_device_fd()
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 31 Aug 2022 20:16:00 +0000 (17:16 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Sep 2022 21:29:11 +0000 (15:29 -0600)
commitfce8969a8061f4c51345d9deefce6747ddc7ffd0
tree962061b8043088344564bf236047aef6a49c51a7
parent10986ab07f3140ac08fbabb3b148d619edd19df4
vfio: Fold VFIO_GROUP_GET_DEVICE_FD into vfio_group_get_device_fd()

No reason to split it up like this, just have one function to process the
ioctl.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/5-v2-0f9e632d54fb+d6-vfio_ioctl_split_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_main.c