aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/vfio_ccw_private.h
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2018-09-21 22:40:12 +0200
committerCornelia Huck <cohuck@redhat.com>2018-09-27 16:32:50 +0200
commitc98e16b2fa1202dd8c66900823591cd110a1a213 (patch)
tree7241a2925f90acf89b065531d202d69b1caa97ff /drivers/s390/cio/vfio_ccw_private.h
parents390/hibernate: fix error handling when suspend cpu != resume cpu (diff)
downloadlinux-dev-c98e16b2fa1202dd8c66900823591cd110a1a213.tar.xz
linux-dev-c98e16b2fa1202dd8c66900823591cd110a1a213.zip
s390/cio: Convert ccw_io_region to pointer
In the event that we want to change the layout of the ccw_io_region in the future[1], it might be easier to work with it as a pointer within the vfio_ccw_private struct rather than an embedded struct. [1] https://patchwork.kernel.org/comment/22228541/ Signed-off-by: Eric Farman <farman@linux.ibm.com> Message-Id: <20180921204013.95804-2-farman@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/s390/cio/vfio_ccw_private.h')
-rw-r--r--drivers/s390/cio/vfio_ccw_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/vfio_ccw_private.h b/drivers/s390/cio/vfio_ccw_private.h
index 78a66d96756b..078e46f9623d 100644
--- a/drivers/s390/cio/vfio_ccw_private.h
+++ b/drivers/s390/cio/vfio_ccw_private.h
@@ -41,7 +41,7 @@ struct vfio_ccw_private {
atomic_t avail;
struct mdev_device *mdev;
struct notifier_block nb;
- struct ccw_io_region io_region;
+ struct ccw_io_region *io_region;
struct channel_program cp;
struct irb irb;