On Tue, Aug 24, 2021 at 04:46:37PM +0200, Christoph Hellwig wrote: > Factor out a little helper to make the checks for the noiommu driver less > ugly. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/vfio/vfio.c | 33 +++++++++++++++++++-------------- > 1 file changed, 19 insertions(+), 14 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason