On Tue, Aug 24, 2021 at 04:46:41PM +0200, Christoph Hellwig wrote: > Just pass a noiommu argument to vfio_create_group and set up the > ->noiommu flag directly, and remove the now superflous > vfio_iommu_group_put helper. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/vfio/vfio.c | 30 +++++++++++------------------- > 1 file changed, 11 insertions(+), 19 deletions(-) I like this a lot better Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason