[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 for-7.2 1/6] libvhost-user: Fix wrong type of argument to form
From: |
Stefan Weil |
Subject: |
[PATCH v3 for-7.2 1/6] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM) |
Date: |
Sat, 26 Nov 2022 16:25:02 +0100 |
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <20220422070144.1043697-2-sw@weilnetz.de>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
subprojects/libvhost-user/libvhost-user.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index ffed4729a3..d9a6e3e556 100644
--- a/subprojects/libvhost-user/libvhost-user.c
+++ b/subprojects/libvhost-user/libvhost-user.c
@@ -651,7 +651,7 @@ generate_faults(VuDev *dev) {
if (ioctl(dev->postcopy_ufd, UFFDIO_REGISTER, ®_struct)) {
vu_panic(dev, "%s: Failed to userfault region %d "
- "@%p + size:%zx offset: %zx: (ufd=%d)%s\n",
+ "@%" PRIx64 " + size:%zx offset: %zx: (ufd=%d)%s\n",
__func__, i,
dev_region->mmap_addr,
dev_region->size, dev_region->mmap_offset,
--
2.35.1
- [PATCH v3 for-7.2 0/6] Add format attributes and fix format strings, Stefan Weil, 2022/11/26
- [PATCH v3 for-7.2 2/6] libvhost-user: Fix format strings, Stefan Weil, 2022/11/26
- [PATCH v3 for-7.2 1/6] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM),
Stefan Weil <=
- [PATCH v3 for-7.2 3/6] libvhost-user: Fix two more format strings, Stefan Weil, 2022/11/26
- [PATCH v3 for-7.2 4/6] libvhost-user: Add format attribute to local function vu_panic, Stefan Weil, 2022/11/26
- [PATCH v3 for-7.2 5/6] MAINTAINERS: Add subprojects/libvhost-user to section "vhost", Stefan Weil, 2022/11/26
- [PATCH v3 for-7.2 6/6] Add G_GNUC_PRINTF to function qemu_set_info_str and fix related issues, Stefan Weil, 2022/11/26
- Re: [PATCH v3 for-7.2 0/6] Add format attributes and fix format strings, Stefan Hajnoczi, 2022/11/27