cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
ddf19c
From 7258b1fabcd152c2ad9b61485b869a41d1bc64e2 Mon Sep 17 00:00:00 2001
ddf19c
From: Cornelia Huck <cohuck@redhat.com>
ddf19c
Date: Tue, 23 Jun 2020 09:25:35 -0400
ddf19c
Subject: [PATCH 01/12] vfio-ccw: Fix error message
ddf19c
MIME-Version: 1.0
ddf19c
Content-Type: text/plain; charset=UTF-8
ddf19c
Content-Transfer-Encoding: 8bit
ddf19c
ddf19c
RH-Author: Cornelia Huck <cohuck@redhat.com>
ddf19c
Message-id: <20200623092543.358315-2-cohuck@redhat.com>
ddf19c
Patchwork-id: 97693
ddf19c
O-Subject: [RHEL-8.3.0 qemu-kvm PATCH 1/9] vfio-ccw: Fix error message
ddf19c
Bugzilla: 1660916
ddf19c
RH-Acked-by: Claudio Imbrenda <cimbrend@redhat.com>
ddf19c
RH-Acked-by: David Hildenbrand <david@redhat.com>
ddf19c
RH-Acked-by: Thomas Huth <thuth@redhat.com>
ddf19c
RH-Acked-by: Philippe Mathieu-Daudé <philmd@redhat.com>
ddf19c
ddf19c
From: Boris Fiuczynski <fiuczy@linux.ibm.com>
ddf19c
ddf19c
Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
ddf19c
Reviewed-by: Eric Farman <farman@linux.ibm.com>
ddf19c
Message-Id: <20191128143015.5231-1-fiuczy@linux.ibm.com>
ddf19c
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
ddf19c
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
ddf19c
(cherry picked from commit 91f751dc111b270b1e81d80ac92cf479e7620fa4)
ddf19c
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
ddf19c
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
ddf19c
---
ddf19c
 hw/vfio/ccw.c | 2 +-
ddf19c
 1 file changed, 1 insertion(+), 1 deletion(-)
ddf19c
ddf19c
diff --git a/hw/vfio/ccw.c b/hw/vfio/ccw.c
ddf19c
index 6863f6c69f..3b5520ae75 100644
ddf19c
--- a/hw/vfio/ccw.c
ddf19c
+++ b/hw/vfio/ccw.c
ddf19c
@@ -102,7 +102,7 @@ again:
ddf19c
         if (errno == EAGAIN) {
ddf19c
             goto again;
ddf19c
         }
ddf19c
-        error_report("vfio-ccw: wirte I/O region failed with errno=%d", errno);
ddf19c
+        error_report("vfio-ccw: write I/O region failed with errno=%d", errno);
ddf19c
         ret = -errno;
ddf19c
     } else {
ddf19c
         ret = region->ret_code;
ddf19c
-- 
ddf19c
2.27.0
ddf19c