]> git.baikalelectronics.ru Git - kernel.git/commit
vfio-pci: Replace 'void __user *' with proper types in the ioctl functions
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 31 Aug 2022 20:15:59 +0000 (17:15 -0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 1 Sep 2022 21:29:11 +0000 (15:29 -0600)
commit0ff0a982679a17174f3d67a98d3ac6d979742063
tree3c574706413edd2d5201883372baf2fa27e485be
parent5cc6060dbca99f396458315e47bc9a6dd425f856
vfio-pci: Replace 'void __user *' with proper types in the ioctl functions

This makes the code clearer and replaces a few places trying to access a
flex array with an actual flex array.

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