Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1orGc6-0004UI-Ma for mharc-qemu-trivial@gnu.org; Sat, 05 Nov 2022 06:41:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGc5-0004TY-7w; Sat, 05 Nov 2022 06:41:21 -0400 Received: from smtp.mail.uni-mannheim.de ([134.155.96.80]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orGbq-00036f-2i; Sat, 05 Nov 2022 06:41:20 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTP id CE3C8100CBB; Sat, 5 Nov 2022 11:25:16 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-mannheim.de Received: from smtp.mail.uni-mannheim.de ([134.155.96.80]) by localhost (mail-r83.rz.uni-mannheim.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqtemuOWmXpp; Sat, 5 Nov 2022 11:25:16 +0100 (CET) Received: from bss11.bib.uni-mannheim.de (unknown [IPv6:2001:7c0:2900:8024::869b:24a1]) by smtp.mail.uni-mannheim.de (Postfix) with ESMTPS id ADCDC100C07; Sat, 5 Nov 2022 11:25:16 +0100 (CET) Received: from stweil by bss11.bib.uni-mannheim.de with local (Exim 4.94.2) (envelope-from ) id 1orGMW-001pbx-Dv; Sat, 05 Nov 2022 11:25:16 +0100 From: Stefan Weil To: qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Stefan Hajnoczi , Laurent Vivier , Stefan Weil , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= 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 Message-Id: <20221105102448.436469-2-sw@weilnetz.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221105102448.436469-1-sw@weilnetz.de> References: <20221105102448.436469-1-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=134.155.96.80; envelope-from=stweil@bss11.bib.uni-mannheim.de; helo=smtp.mail.uni-mannheim.de X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_NONE=0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2022 10:41:21 -0000 Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Stefan Weil Message-Id: <20220422070144.1043697-2-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- 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