aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2022-04-11 16:13:57 +0200
committerZhi Wang <[email protected]>2022-04-21 07:36:56 -0400
commit978cf586ac35f34604e2d252a51b71192c39f1e4 (patch)
treed8d79d500d36f2d67a3e857119978eaaf657cf82 /net/lapb/lapb_iface.c
parent0e09f4066ad11bcb4fa1b2d1a6f07fc0dc9788f9 (diff)
drm/i915/gvt: convert to use vfio_register_emulated_iommu_dev
This is straightforward conversion, the intel_vgpu already has a pointer to the vfio_dev, which can be replaced with the embedded structure and we can replace all the mdev_get_drvdata() with a simple container_of(). Based on an patch from Jason Gunthorpe. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Zhi Wang <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Zhi Wang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions