lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 23 Oct 2014 20:49:18 +0300
From:	"Michael S. Tsirkin" <>
Cc:	Christian Borntraeger <>,
	Cornelia Huck <>,,
	Martin Schwidefsky <>,
	Heiko Carstens <>,
Subject: [PATCH] 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(-)

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;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists