]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: Split VFIO_GROUP_GET_STATUS into a function
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 31 Aug 2022 20:16:03 +0000 (17:16 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Sep 2022 21:29:11 +0000 (15:29 -0600)
commitdaf12feb086251f5f9d3b99f594630bb18d357d8
tree1473429afdee92df59c410ddaf4533e2ef68c549
parent5ca01998f0505b803c159b7b8ac4815b12e5b841
vfio: Split VFIO_GROUP_GET_STATUS into a function

This is the last sizable implementation in vfio_group_fops_unl_ioctl(),
move it to a function so vfio_group_fops_unl_ioctl() is emptied out.

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