Refactor ccw_io_region
A message that is not in the archive (sent off-list or not yet received): [email protected]
Cornelia Huck
AppliedQuoted 13 lines · On Fri, 21 Sep 2018 22:40:11 +0200 Eric Farman <[email protected]> wrote:
Cornelia, I think you were thinking something like this?
Patch one does the refactoring to use
ccw_io_regionas a pointer rather than a struct embedded invfio_ccw_private, while patch two is almost identical to the initial patch that I sent.Obviously I had to remove references to the
vfio_ccw_privatestruct sinceccw_io_regionis a pointer, but the concept is the same.Eric Farman (2):
s390/cio: Convertccw_io_regionto pointer
s390/cio: Refactor alloc ofccw_io_region
Quoted 6 lines
drivers/s390/cio/vfio_ccw_drv.c | 24 +++++++++++++++++++++++- drivers/s390/cio/vfio_ccw_fsm.c | 6 +++--- drivers/s390/cio/vfio_ccw_ops.c | 4 ++-- drivers/s390/cio/vfio_ccw_private.h | 2 +- 4 files changed, 29 insertions(+), 7 deletions(-)
Thanks, applied.