All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, "Stefan Weil" <sw@weilnetz.de>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	"Laurent Vivier" <laurent@vivier.eu>
Subject: [PULL 04/10] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM)
Date: Thu,  3 Nov 2022 17:17:21 +0100	[thread overview]
Message-ID: <20221103161727.4116147-5-laurent@vivier.eu> (raw)
In-Reply-To: <20221103161727.4116147-1-laurent@vivier.eu>

From: Stefan Weil <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 ffed4729a3dc..d9a6e3e5560f 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, &reg_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.37.3



  parent reply	other threads:[~2022-11-03 16:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 16:17 [PULL 00/10] Trivial branch for 7.2 patches Laurent Vivier
2022-11-03 16:17 ` [PULL 01/10] qapi: virtio: Fix the introduced version Laurent Vivier
2022-11-03 16:17 ` [PULL 02/10] Fix some typos in documentation and comments Laurent Vivier
2022-11-03 16:17 ` [PULL 03/10] xen/pt: fix syntax error that causes FTBFS in some configurations Laurent Vivier
2022-11-03 16:17 ` Laurent Vivier [this message]
2022-11-04 16:16   ` [PULL 04/10] libvhost-user: Fix wrong type of argument to formatting function (reported by LGTM) Laurent Vivier
2022-11-05  9:15     ` Stefan Weil via
2022-11-03 16:17 ` [PULL 05/10] libvhost-user: Fix format strings Laurent Vivier
2022-11-03 16:17 ` [PULL 06/10] libvhost-user: Add format attribute to local function vu_panic Laurent Vivier
2022-11-03 16:17 ` [PULL 07/10] target/m68k: Rename qregs.def -> qregs.h.inc Laurent Vivier
2022-11-03 16:17 ` [PULL 08/10] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc Laurent Vivier
2022-11-03 16:17 ` [PULL 09/10] target/tricore: Rename csfr.def -> csfr.h.inc Laurent Vivier
2022-11-03 16:17 ` [PULL 10/10] tests/unit: simpler variable sequence for test-io-channel Laurent Vivier
2022-11-04 14:39 ` [PULL 00/10] Trivial branch for 7.2 patches Stefan Hajnoczi

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=20221103161727.4116147-5-laurent@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=f4bug@amsat.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.