From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ycwqv-0000aH-Er for qemu-devel@nongnu.org; Tue, 31 Mar 2015 10:09:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ycwqq-0005lQ-Gx for qemu-devel@nongnu.org; Tue, 31 Mar 2015 10:09:13 -0400 Message-ID: <551AAA82.9090608@redhat.com> Date: Tue, 31 Mar 2015 08:09:06 -0600 From: Eric Blake MIME-Version: 1.0 References: <1427808437-535644-1-git-send-email-stefanb@linux.vnet.ibm.com> In-Reply-To: <1427808437-535644-1-git-send-email-stefanb@linux.vnet.ibm.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="on8wxxKWXDpop714T2qNu4FW3bmHubfXE" Subject: Re: [Qemu-devel] [PATCH] tpm_tis: fix format for 64bit variable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Berger , qemu-trivial@nongnu.org Cc: qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --on8wxxKWXDpop714T2qNu4FW3bmHubfXE Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 03/31/2015 07:27 AM, Stefan Berger wrote: > Signed-off-by: Stefan Berger > --- > hw/tpm/tpm_tis.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c > index 815c8ea..52e0148 100644 > --- a/hw/tpm/tpm_tis.c > +++ b/hw/tpm/tpm_tis.c > @@ -814,7 +814,7 @@ static void tpm_tis_mmio_write_intern(void *opaque,= hwaddr addr, > tis->loc[locty].state =3D=3D TPM_TIS_STATE_COMPLETION) { > /* drop the byte */ > } else { > - DPRINTF("tpm_tis: Data to send to TPM: %08x (size=3D%d)\n"= , > + DPRINTF("tpm_tis: Data to send to TPM: %08lx (size=3D%d)\n= ", NACK. When printing uint64_t val, you HAVE to use PRIx64, not lx, for the sake of 32-bit platforms. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --on8wxxKWXDpop714T2qNu4FW3bmHubfXE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVGqqCAAoJEKeha0olJ0Nq3LoH/jBPKq/PHprX2Fo3qQw6U0Cx U4MPxicRDd680hrUN+2nP2HYFGll6HZD3EDsNu9lotznhdB0yYCPEfSQLt5pyMHc +YJGn4IzkX+Jf2W7XrUcKTkEa9YhBa6w7gmAm2TuaI2tz8kkPjRJR7VSS86c8lpG ISKU+xUjK/1JqwdKLBA9boVroajKJCZ60kYGELZpVwqm/v489Nrzrk9h1Q6Ii61M lGiY4tWbk8WIQA0j47xRccTVMYAESIwJAARdBoUi8md1thxBECx9W33VYGbxvkYj CaDoWHesYAIdzwAKjPVVSOS0UiIV2QDD0faL8h/3YcMlTMTlPnurBGvtrkkKpKE= =AdCa -----END PGP SIGNATURE----- --on8wxxKWXDpop714T2qNu4FW3bmHubfXE--