From nobody Mon Feb 9 12:15:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604402788; cv=none; d=zohomail.com; s=zohoarc; b=eyDUes/Lv4qT3WkyKm61G8h6IItzQl/f7/4zfOLHUuWyrrjrli38v+/zNHGW4s44CQqYJgL/D4wHYk9BoT/XGnAe6sGrXmGD6ZPQUlZPLESm3/3UHbSyO/Jz/IZd6AU2WBlrtxwyJrcmEzYeYTEcA7s05qs3HRa2hDVEN+tHrR0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604402788; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ms9/MqSjQ1PZDOJSmQXaPdJqLuT/XwivS769IUm5axs=; b=TmRa1ilE4U6M7lJ3ooQlL8qlvTNckeb3wxFztCO8MxblO5m37zts6F1EtywvtOQf7SJqXsLfgSJwVXBKIky+/g+8ECSNGafR0/vjXorpTG/3GbggWO+R5+7VTCRoGGMChxAFs7Ewp6fpBglfwj/sU5j7WuZZ2RehTVGR94YQaB4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1604402788202997.4513642050239; Tue, 3 Nov 2020 03:26:28 -0800 (PST) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-186-10b6iMCoPmy8FqL9EZN-Ug-1; Tue, 03 Nov 2020 06:26:22 -0500 Received: by mail-wr1-f71.google.com with SMTP id h8so7737155wrt.9 for ; Tue, 03 Nov 2020 03:26:22 -0800 (PST) Return-Path: Return-Path: Received: from x1w.redhat.com (234.red-83-42-66.dynamicip.rima-tde.net. [83.42.66.234]) by smtp.gmail.com with ESMTPSA id y187sm2554418wmg.33.2020.11.03.03.26.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 03:26:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604402786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ms9/MqSjQ1PZDOJSmQXaPdJqLuT/XwivS769IUm5axs=; b=PdBFAwnM/UXLtUKVhkjGzRXCTVhK8wGkXusA/QjUBOtzQd8EBia14mmKxz/N4MpDdBsH5P N/9YEyKWlCwvTeadu0FjpYecF7FFmShcYaLmPKsr4S+IbvR4zLlMMEJMvzhoSlFjIqLcO2 lxFwbbkVrPJLZ7gfx5Q+eiPqmflKIhk= X-MC-Unique: 10b6iMCoPmy8FqL9EZN-Ug-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ms9/MqSjQ1PZDOJSmQXaPdJqLuT/XwivS769IUm5axs=; b=LE6wN6WqrPmF/Ky1NCynV0BFUMYdY/R1u3pRlNxwgKKJVvTmRPaL/ZAw2cg8c61lw1 HQfuAcHGGthBwtei8+NXSA15W9W3OSlSLrhFuEITxhX3Apy8ew3R88uVmbAil7wSp3WK hAFMJKI9YEZGjZKSD6a17IDGWk3xl1+F/KEbzqtbGH5eEvWH+zPmRb3UKbuFYGzLiFja lufnoOOuXyyRPajDRelm25+/goDCq3laehzzjXrX7OvjHQKBHtO6rsxrGymYykySTnev ze43J2lEmIWtbabIu/bq6YI1gsdx/inZYDc3dvpXFyY4J/ZGnMVUQKDB4Kvk1SL92Rq5 hmJA== X-Gm-Message-State: AOAM533sz2UkrFIasCmDm1b3uC4+5wNEiZqHMKrEtgaTD6bCLsgM+lCk yUddBQDZSgjd8oPKE5FQ78h/OPRjCkb/xs9OQWWabSQdJV/us5YcBIo47XiokFILgdYhALNkOFb ieiCUPzkd1LMw8Q== X-Received: by 2002:adf:e807:: with SMTP id o7mr14149492wrm.303.1604402781198; Tue, 03 Nov 2020 03:26:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwlWuAW9vhsOwtH2y6J/QpafR8zIjFMv/LxT9xs1kOwxJmpSiiXn3skvqGO5xgOSpeA0rt8mQ== X-Received: by 2002:adf:e807:: with SMTP id o7mr14149483wrm.303.1604402781080; Tue, 03 Nov 2020 03:26:21 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Juan Quintela , qemu-ppc@nongnu.org, Laurent Vivier , David Gibson , Gerd Hoffmann , Dov Murik , "Dr. David Alan Gilbert" , qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-5.2 4/4] migration/ram: Fix hexadecimal format string specifier Date: Tue, 3 Nov 2020 12:25:58 +0100 Message-Id: <20201103112558.2554390-5-philmd@redhat.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201103112558.2554390-1-philmd@redhat.com> References: <20201103112558.2554390-1-philmd@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The '%u' conversion specifier is for decimal notation. When prefixing a format with '0x', we want the hexadecimal specifier ('%x'). Inspired-by: Dov Murik Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Dr. David Alan Gilbert --- migration/ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 2da2b622ab2..23dcfb3ac38 100644 --- a/migration/ram.c +++ b/migration/ram.c @@ -3729,7 +3729,7 @@ int ram_dirty_bitmap_reload(MigrationState *s, RAMBlo= ck *block) } =20 if (end_mark !=3D RAMBLOCK_RECV_BITMAP_ENDING) { - error_report("%s: ramblock '%s' end mark incorrect: 0x%"PRIu64, + error_report("%s: ramblock '%s' end mark incorrect: 0x%"PRIx64, __func__, block->idstr, end_mark); ret =3D -EINVAL; goto out; --=20 2.26.2