On Thu, 2021-09-09 at 16:38 -0300, Jason Gunthorpe 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@nvidia.com
drivers/s390/cio/vfio_ccw_ops.c | 37 +++++++++++++----------------
1 file changed, 15 insertions(+), 22 deletions(-)
Reviewed-by: Eric Farman farman@linux.ibm.com