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
..
2021-02-16 20:36:38 -08:00
2019-07-15 11:03:03 -03:00
2020-10-16 15:02:21 -07:00
2020-12-16 14:58:35 -08:00
2019-07-26 08:15:26 -06:00
2019-06-07 11:35:15 -06:00
2020-12-15 10:57:29 +01:00
2020-06-02 20:32:53 -03:00
2020-12-10 22:37:32 +01:00
2019-10-07 09:47:37 -07:00