Jason Gunthorpe 91be0bd6c6 vfio/pci: Have all VFIO PCI drivers store the vfio_pci_core_device in drvdata
Having a consistent pointer in the drvdata will allow the next patch to
make use of the drvdata from some of the core code helpers.

Use a WARN_ON inside vfio_pci_core_register_device() to detect drivers
that miss this.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/1-v4-c841817a0349+8f-vfio_get_from_dev_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2022-05-11 13:32:56 -06:00
..
2022-04-30 10:24:21 -07:00
2022-05-04 11:01:31 -07:00
2022-04-27 20:36:47 +02:00
2022-04-24 17:25:10 +02:00
2022-05-11 13:08:49 -06:00
2022-04-28 16:51:24 +02:00
2022-05-06 10:56:38 +10:00