Re: [PATCH v5 06/19] vfio: Pass struct vfio_device_file * to vfio_device_open/close()

Jason Gunthorpe
2023-02-27T18:47:55Z

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@intel.com>
> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
> ---
> 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@nvidia.com>

Jason