Re: [PATCH 2/9] vfio/ccw: Remove mdev from struct channel_program

2022-04-14 Thread Eric Farman
On Tue, 2022-04-12 at 12:53 -0300, Jason Gunthorpe wrote: > 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. > > Signed-off-by: Jason Gunthorpe > --- > drivers/s390/cio/vfio_ccw_cp.c | 44

[PATCH 2/9] vfio/ccw: Remove mdev from struct channel_program

2022-04-12 Thread Jason Gunthorpe
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. Signed-off-by: Jason Gunthorpe --- drivers/s390/cio/vfio_ccw_cp.c | 44 +++-- drivers/s390/cio/vfio_ccw_cp.h | 4 +--