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
commit8e432bb015b6c327d016b1dca509964e189c4770 (patch)
tree500ed0764fa8143885653368db0625470d3e42b8 /drivers/fpga/fpga-bridge.c
parent0a58795647cd4300470788ffdbff6b29b5f00632 (diff)
vfio/mdev: Pass in a struct vfio_device * to vfio_pin/unpin_pages()
Every caller has a readily available vfio_device pointer, use that instead of passing in a generic struct device. The struct vfio_device already contains the group we need so this avoids complexity, extra refcountings, and a confusing lifecycle model. Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Eric Farman <[email protected]> Reviewed-by: Jason J. Herne <[email protected]> Reviewed-by: Tony Krowiak <[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