From: Stefan Weil via <qemu-devel@nongnu.org>
To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org
Cc: "Stefan Hajnoczi" <stefanha@gmail.com>,
"Laurent Vivier" <laurent@vivier.eu>,
"Stefan Weil" <sw@weilnetz.de>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PATCH v2 1/4] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM)
Date: Sat, 5 Nov 2022 11:24:45 +0100 [thread overview]
Message-ID: <20221105102448.436469-2-sw@weilnetz.de> (raw)
In-Reply-To: <20221105102448.436469-1-sw@weilnetz.de>
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.30.2
next prev parent reply other threads:[~2022-11-05 10:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 10:24 [PATCH v2 for-7.2 0/4] libvhost-user: Add format attribute and fix format strings Stefan Weil via
2022-11-05 10:24 ` Stefan Weil via [this message]
2022-11-05 10:24 ` [PATCH v2 2/4] libvhost-user: Fix " Stefan Weil via
2022-11-05 10:24 ` [PATCH v2 3/4] libvhost-user: Fix two more " Stefan Weil via
2022-11-05 11:06 ` Stefan Weil via
2022-11-15 7:25 ` [PATCH for-7.2 " Stefan Weil via
2022-11-23 6:35 ` Stefan Weil via
2022-11-23 6:49 ` Stefan Weil via
2022-11-23 6:52 ` Michael S. Tsirkin
2022-11-05 10:24 ` [PATCH v2 4/4] libvhost-user: Add format attribute to local function vu_panic Stefan Weil via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221105102448.436469-2-sw@weilnetz.de \
--to=qemu-devel@nongnu.org \
--cc=f4bug@amsat.org \
--cc=laurent@vivier.eu \
--cc=qemu-trivial@nongnu.org \
--cc=stefanha@gmail.com \
--cc=sw@weilnetz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).