[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v3 32/32] vfio: fix incorrect print type
From: |
Alex Williamson |
Subject: |
[PULL v3 32/32] vfio: fix incorrect print type |
Date: |
Sun, 01 Nov 2020 14:03:35 -0700 |
User-agent: |
StGit/0.21-dirty |
From: Zhengui li <lizhengui@huawei.com>
The type of input variable is unsigned int
while the printer type is int. So fix incorrect print type.
Signed-off-by: Zhengui li <lizhengui@huawei.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
---
hw/vfio/common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index 57f55f0447d6..e18ea2cf9124 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -205,7 +205,7 @@ void vfio_region_write(void *opaque, hwaddr addr,
buf.qword = cpu_to_le64(data);
break;
default:
- hw_error("vfio: unsupported write size, %d bytes", size);
+ hw_error("vfio: unsupported write size, %u bytes", size);
break;
}
@@ -262,7 +262,7 @@ uint64_t vfio_region_read(void *opaque,
data = le64_to_cpu(buf.qword);
break;
default:
- hw_error("vfio: unsupported read size, %d bytes", size);
+ hw_error("vfio: unsupported read size, %u bytes", size);
break;
}
- Re: [PULL v3 26/32] s390x/pci: use a PCI Group structure, (continued)
[PULL v3 25/32] s390x/pci: create a header dedicated to PCI CLP, Alex Williamson, 2020/11/01
[PULL v3 27/32] s390x/pci: clean up s390 PCI groups, Alex Williamson, 2020/11/01
[PULL v3 28/32] s390x/pci: use a PCI Function structure, Alex Williamson, 2020/11/01
[PULL v3 29/32] vfio: Add routine for finding VFIO_DEVICE_GET_INFO capabilities, Alex Williamson, 2020/11/01
[PULL v3 30/32] s390x/pci: get zPCI function info from host, Alex Williamson, 2020/11/01
[PULL v3 31/32] hw/vfio: Use lock guard macros, Alex Williamson, 2020/11/01
[PULL v3 32/32] vfio: fix incorrect print type,
Alex Williamson <=
Re: [PULL v3 00/32] VFIO updates 2020-11-01 (for QEMU 5.2 soft-freeze), Peter Maydell, 2020/11/02