diff options
author | Jason Gunthorpe <[email protected]> | 2022-05-11 13:19:07 -0600 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-05-11 13:32:56 -0600 |
commit | 91be0bd6c6cf21328017e990d3ceeb00f03821fd (patch) | |
tree | 646fde177d80ac18c2905f10af4ce69a6ce26694 /drivers/fpga/fpga-bridge.c | |
parent | eadd86f835c63769febbd056dfcb70dafef0d4b3 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions