diff options
author | Peter Xu | 2020-10-19 19:39:22 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2020-10-30 11:48:53 +0100 |
commit | 73beb01ec54969f76ab32d1e0605a759b6c95ab0 (patch) | |
tree | 15d30ba72a5df15068ecc97b274dcc16af4e94e6 /hw/i386 | |
parent | virtio: skip guest index check on device load (diff) | |
download | qemu-73beb01ec54969f76ab32d1e0605a759b6c95ab0.tar.gz qemu-73beb01ec54969f76ab32d1e0605a759b6c95ab0.tar.xz qemu-73beb01ec54969f76ab32d1e0605a759b6c95ab0.zip |
intel_iommu: Fix two misuse of "0x%u" prints
Dave magically found this. Fix them with "0x%x".
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20201019173922.100270-1-peterx@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/intel_iommu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 749eb6ad63..70ac837733 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -2665,7 +2665,7 @@ static uint64_t vtd_mem_read(void *opaque, hwaddr addr, unsigned size) if (addr + size > DMAR_REG_SIZE) { error_report_once("%s: MMIO over range: addr=0x%" PRIx64 - " size=0x%u", __func__, addr, size); + " size=0x%x", __func__, addr, size); return (uint64_t)-1; } @@ -2716,7 +2716,7 @@ static void vtd_mem_write(void *opaque, hwaddr addr, if (addr + size > DMAR_REG_SIZE) { error_report_once("%s: MMIO over range: addr=0x%" PRIx64 - " size=0x%u", __func__, addr, size); + " size=0x%x", __func__, addr, size); return; } |