linux/drivers/vfio/platform
Jason Gunthorpe 6df62c5b05 vfio: Make vfio_device_ops pass a 'struct vfio_device *' instead of 'void *'
This is the standard kernel pattern, the ops associated with a struct get
the struct pointer in for typesafety. The expected design is to use
container_of to cleanly go from the subsystem level type to the driver
level type without having any type erasure in a void *.

Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Message-Id: <12-v3-225de1400dfc+4e074-vfio1_jgg@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2021-04-06 11:55:11 -06:00
..
reset VFIO updates for v5.6-rc1 2020-02-03 22:22:05 +00:00
Kconfig ARM: amba: Allow some ARM_AMBA users to compile with COMPILE_TEST 2021-03-16 10:39:28 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vfio_amba.c vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00
vfio_platform.c vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00
vfio_platform_common.c vfio: Make vfio_device_ops pass a 'struct vfio_device *' instead of 'void *' 2021-04-06 11:55:11 -06:00
vfio_platform_irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
vfio_platform_private.h vfio/platform: Use vfio_init/register/unregister_group_dev 2021-04-06 11:55:10 -06:00