OSDN Git Service

vfio/ccw: Remove mdev from struct channel_program
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 11 May 2022 19:12:59 +0000 (13:12 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 11 May 2022 19:12:59 +0000 (13:12 -0600)
commit0a58795647cd4300470788ffdbff6b29b5f00632
tree8d177772bf521603c3d5b85f8607e2afe3e6c76f
parent09ea48efffa3156218980e20aaf23dcc7d6000fc
vfio/ccw: Remove mdev from struct channel_program

The next patch wants the vfio_device instead. There is no reason to store
a pointer here since we can container_of back to the vfio_device.

Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/2-v4-8045e76bf00b+13d-vfio_mdev_no_group_jgg@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/cio/vfio_ccw_cp.c
drivers/s390/cio/vfio_ccw_cp.h
drivers/s390/cio/vfio_ccw_fsm.c