diff options
author | Jason Gunthorpe <jgg@nvidia.com> | 2021-10-15 08:40:51 -0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-10-15 13:58:19 -0600 |
commit | 1ceabade1df78c420e30efd4d39a48ceb46487bc (patch) | |
tree | 4034f2f795d6d0fffecc047cb015847ce9bed077 /Kconfig | |
parent | 63b150fde7a2549e8bf7cb0fca7e9cfb9cad50d7 (diff) | |
download | linux-1ceabade1df78c420e30efd4d39a48ceb46487bc.tar.bz2 |
vfio: Do not open code the group list search in vfio_create_group()
Split vfio_group_get_from_iommu() into __vfio_group_get_from_iommu() so
that vfio_create_group() can call it to consolidate this duplicated code.
Reviewed-by: Liu Yi L <yi.l.liu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/2-v3-2fdfe4ca2cc6+18c-vfio_group_cdev_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions