diff options
author | Yi Liu <[email protected]> | 2023-03-27 02:33:51 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2023-03-31 13:43:32 -0300 |
commit | 7d12578c5d508050554bcd9ca3d2331914d86d71 (patch) | |
tree | abfc6e7ae9aa91eca9d630fdd1577d91cce48074 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 0a782d15e1d406e8074954405b1dc143a7645344 (diff) |
vfio: Check the presence for iommufd callbacks in __vfio_register_dev()
After making the no-DMA drivers (samples/vfio-mdev) providing iommufd
callbacks, __vfio_register_dev() should check the presence of the iommufd
callbacks if CONFIG_IOMMUFD is enabled.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Tested-by: Terrence Xu <[email protected]>
Tested-by: Nicolin Chen <[email protected]>
Signed-off-by: Yi Liu <[email protected]>
Acked-by: Alex Williamson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions