From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754854AbaJWRpu (ORCPT ); Thu, 23 Oct 2014 13:45:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20396 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752366AbaJWRps (ORCPT ); Thu, 23 Oct 2014 13:45:48 -0400 Date: Thu, 23 Oct 2014 20:49:18 +0300 From: "Michael S. Tsirkin" To: linux-kernel@vger.kernel.org Cc: Christian Borntraeger , Cornelia Huck , linux390@de.ibm.com, Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org Subject: [PATCH] fixup! KVM: s390 allow virtio_ccw status writes to fail Message-ID: <1414086476-24772-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mutt-Fcc: =sent Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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