On Mon, Feb 27, 2023 at 03:11:22AM -0800, Yi Liu wrote: > This avoids passing too much parameters in multiple functions. > > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx> > Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx> > --- > drivers/vfio/group.c | 19 +++++++++++++------ > drivers/vfio/vfio.h | 8 ++++---- > drivers/vfio/vfio_main.c | 25 +++++++++++++++---------- > 3 files changed, 32 insertions(+), 20 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason