diff options
| author | 2021-09-24 17:56:54 +0200 | |
|---|---|---|
| committer | 2021-09-30 12:46:43 -0600 | |
| commit | 1362591f15233bdc3d1fbf27e266068bd16a4e92 (patch) | |
| tree | 0e88ca56a5015a276893daadfa3912a3202d4e32 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | vfio: remove the iommudata check in vfio_noiommu_attach_group (diff) | |
| download | linux-dev-1362591f15233bdc3d1fbf27e266068bd16a4e92.tar.xz linux-dev-1362591f15233bdc3d1fbf27e266068bd16a4e92.zip | |
vfio: factor out a vfio_group_find_or_alloc helper
Factor out a helper to find or allocate the vfio_group to reduce the
spagetthi code in vfio_register_group_dev a little.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210924155705.4258-5-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
