mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fixup! KVM: s390 allow virtio_ccw status writes to fail
@ 2014-10-23 17:49 Michael S. Tsirkin
  0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2014-10-23 17:49 UTC (permalink / raw)
  To: linux-kernel
  Cc: Christian Borntraeger, Cornelia Huck, linux390,
	Martin Schwidefsky, Heiko Carstens, linux-s390

Forgot that I need a cross-compiler for s390 changes, so of course
they don't build :(
Will repost later, for now here's a fix.

---
 drivers/s390/kvm/virtio_ccw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
index 6add617..9b5aa0b 100644
--- a/drivers/s390/kvm/virtio_ccw.c
+++ b/drivers/s390/kvm/virtio_ccw.c
@@ -862,7 +862,7 @@ static u8 virtio_ccw_get_status(struct virtio_device *vdev)
 static void virtio_ccw_set_status(struct virtio_device *vdev, u8 status)
 {
 	struct virtio_ccw_device *vcdev = to_vc_device(vdev);
-	u8 old_status = vcdev->status;
+	u8 old_status = *vcdev->status;
 	struct ccw1 *ccw;
 	int ret;
 
-- 
MST

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-23 17:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23 17:49 [PATCH] fixup! KVM: s390 allow virtio_ccw status writes to fail Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®