Skip to contentSkip to conversation

fixup! KVM: s390 allow virtio_ccw status writes to fail

PATCH New Michael S. Tsirkin 1 participant 1 message Oct 23, 2014 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! KVM: s390 allow virtio_ccw status writes to fail

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(-)
drivers/s390/kvm/virtio_ccw.c +1 -1
index 6add617..9b5aa0b 100644
@@ -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;
 
Signature · 1 line
MST