aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2022-05-11 13:12:59 -0600
committerAlex Williamson <[email protected]>2022-05-11 13:12:59 -0600
commitc6250ffbacc5989a5db3b9acce34b93570938f60 (patch)
tree719108793f9390bf29c82e6da0f16e94b8b78edd /drivers/fpga/fpga-bridge.c
parent8e432bb015b6c327d016b1dca509964e189c4770 (diff)
vfio/mdev: Pass in a struct vfio_device * to vfio_dma_rw()
Every caller has a readily available vfio_device pointer, use that instead of passing in a generic struct device. Change vfio_dma_rw() to take in the struct vfio_device and move the container users that would have been held by vfio_group_get_external_user_from_dev() to vfio_dma_rw() directly, like vfio_pin/unpin_pages(). Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Kevin Tian <[email protected]> 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