From nobody Mon Feb 9 16:19:37 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=1604402779; cv=none; d=zohomail.com; s=zohoarc; b=ncUrwXGyxjh/l97yMGeOsQvr80D3lyxiq6XnkqDk3y+HUre5MrN7DxHfMFfUp5RTybiFaew6/4oPRuiS3oM+yqn9+vw06x9x6c3dHMi43Yu5ISyMO18YQncs1bBErLT92MX3JvLrzVeCB+mUJSI5qfBKbg7BjeXYOmOYKy7su+Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604402779; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=J/WriUkAF5WQqVMHWgQv1QLJ6c0DsVi572s0W42JyGk=; b=HLaKdg3GuZOSwODUuIxf0TSQdP/SFIXEWSuDKwW1G9jvOoOW2f19XWA7hmENkstEjUo0Ftel0XAlj8BMygCuGQURZufLtRvgCgBc9jhJiVArBnJCfWFbGaQc8ySLNBbYbTazAXv7MqQRnck4MdfVw9FkyELX9tPFBGrUruVDAA0= 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 1604402779941727.1934867221792; Tue, 3 Nov 2020 03:26:19 -0800 (PST) Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-298-h0ngeeahOPurXrw94dB-0Q-1; Tue, 03 Nov 2020 06:26:17 -0500 Received: by mail-wm1-f72.google.com with SMTP id e15so2540061wme.4 for ; Tue, 03 Nov 2020 03:26:17 -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 l3sm2990672wmg.32.2020.11.03.03.26.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Nov 2020 03:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604402778; 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=J/WriUkAF5WQqVMHWgQv1QLJ6c0DsVi572s0W42JyGk=; b=YhqaQjJbixZonkQfLcB6WsJSlerp8HqiRmh9Avrv4GF6R/0c0cbWBH+6u1xZzW6bJ3dkVQ rqRXY2rZUWjQ1Z3VpBS3FoJBVrWun4xj//NK23lI2+dWLTtr4L15DiB5XPoSzyS9Zma6nl CKwKYjEvwB/s1O3EM7AdfAS2TbJROdk= X-MC-Unique: h0ngeeahOPurXrw94dB-0Q-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=J/WriUkAF5WQqVMHWgQv1QLJ6c0DsVi572s0W42JyGk=; b=Q9avCDOwvsBZM5iObpHdc0alXIOBHZJktXFcwrkWG7mcM9fl31AHJswDpB2pHJjeEF iZzRkGIZsnvSVywcLiDjwqV1kR0x24hoZ4f4mKM5IzHKR1QxddfpKXh/nC4vuCx0wO6A +SG+5NdTFUmnPC2MIdKohLmV0JSCOJTk/alN9Ynl/qQvegMuY4YeHPC7plHIcl6ijkhq QRXieLIiD5T1U//lxKmCAeP+21B7ZNXjJuZceD+r2i07UY1FlsyzIHT0lsAUHZVvRzXi C9T+w32fLpVUNTBDHAsC3FelEbhPJxv+D2kpSkUHMvEYTM+CGNBtVrn8/3T45HPzXyMQ EvhQ== X-Gm-Message-State: AOAM530+9It4TAPVR+bBI5IFEdgaYzE+hejjMVqJEHO6ubgzfKnPXoB8 FrENED3qDoRWdB2naBVcXY2cGElVMApz09247Nfv6VOp0jO7LHupaov/GfHAhfxO3nO5sbwDnDZ ADD2YjiW5PTD94g== X-Received: by 2002:adf:dc4c:: with SMTP id m12mr12923489wrj.177.1604402776126; Tue, 03 Nov 2020 03:26:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzTl+t5I9FpG8/KLS8m1QoHOaFWtqY+CTqoUmfuR/B2d6DVdY+/+PfSoNgEgI7cecNbPe3uAQ== X-Received: by 2002:adf:dc4c:: with SMTP id m12mr12923461wrj.177.1604402775992; Tue, 03 Nov 2020 03:26:15 -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 3/4] hw/ppc/spapr_tpm_proxy: Fix hexadecimal format string specifier Date: Tue, 3 Nov 2020 12:25:57 +0100 Message-Id: <20201103112558.2554390-4-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 Acked-by: David Gibson Reviewed-by: Greg Kurz --- hw/ppc/trace-events | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/trace-events b/hw/ppc/trace-events index dcc06d49b5a..6d8d095aa28 100644 --- a/hw/ppc/trace-events +++ b/hw/ppc/trace-events @@ -19,7 +19,7 @@ spapr_update_dt_failed_size(unsigned cbold, unsigned cbne= w, unsigned magic) "Old spapr_update_dt_failed_check(unsigned cbold, unsigned cbnew, unsigned magi= c) "Old blob %u bytes, new blob %u bytes, magic 0x%x" =20 # spapr_tpm_proxy.c -spapr_h_tpm_comm(const char *device_path, uint64_t operation) "tpm_device_= path=3D%s operation=3D0x%"PRIu64 +spapr_h_tpm_comm(const char *device_path, uint64_t operation) "tpm_device_= path=3D%s operation=3D0x%"PRIx64 spapr_tpm_execute(uint64_t data_in, uint64_t data_in_sz, uint64_t data_out= , uint64_t data_out_sz) "data_in=3D0x%"PRIx64", data_in_sz=3D%"PRIu64", dat= a_out=3D0x%"PRIx64", data_out_sz=3D%"PRIu64 =20 # spapr_iommu.c --=20 2.26.2