[PATCH v2 2/9] vfio/ccw: Pass vfio_ccw_private not mdev_device to various functions
Cornelia Huck
cohuck at redhat.com
Mon Sep 20 11:12:34 UTC 2021
On Thu, Sep 09 2021, Jason Gunthorpe <jgg at nvidia.com> wrote:
> mdev_device should only be used in functions assigned to ops callbacks,
> interior functions should use the struct vfio_ccw_private instead of
> repeatedly trying to get it from the mdev.
>
> Signed-off-by: Jason Gunthorpe <jgg at nvidia.com>
> ---
> drivers/s390/cio/vfio_ccw_ops.c | 37 +++++++++++++--------------------
> 1 file changed, 15 insertions(+), 22 deletions(-)
Reviewed-by: Cornelia Huck <cohuck at redhat.com>
More information about the dri-devel
mailing list