From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFkET-0000Ep-74 for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:38:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFkER-0007lZ-4w for qemu-devel@nongnu.org; Wed, 22 Jun 2016 11:38:24 -0400 References: <1466609642-17709-1-git-send-email-lvivier@redhat.com> From: Eric Blake Message-ID: <576AB0ED.4070006@redhat.com> Date: Wed, 22 Jun 2016 09:38:21 -0600 MIME-Version: 1.0 In-Reply-To: <1466609642-17709-1-git-send-email-lvivier@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Sdf6i4jRKgW6Qmth3nlsNvImOwHsFqCN4" Subject: Re: [Qemu-devel] [PATCH] trace-event: display "%d" instead of "0x%d" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org Cc: Eduardo Habkost , qemu-trivial@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Sdf6i4jRKgW6Qmth3nlsNvImOwHsFqCN4 From: Eric Blake To: Laurent Vivier , qemu-devel@nongnu.org Cc: Eduardo Habkost , qemu-trivial@nongnu.org Message-ID: <576AB0ED.4070006@redhat.com> Subject: Re: [PATCH] trace-event: display "%d" instead of "0x%d" References: <1466609642-17709-1-git-send-email-lvivier@redhat.com> In-Reply-To: <1466609642-17709-1-git-send-email-lvivier@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/22/2016 09:34 AM, Laurent Vivier wrote: > Display the slot number of mhp_pc_dimm_assigned_slot() > using "%d" without the "0x". >=20 > Signed-off-by: Laurent Vivier > --- > hw/i386/trace-events | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Eric Blake >=20 > diff --git a/hw/i386/trace-events b/hw/i386/trace-events > index ea77bc2..71fc191 100644 > --- a/hw/i386/trace-events > +++ b/hw/i386/trace-events > @@ -8,5 +8,5 @@ xen_pv_mmio_read(uint64_t addr) "WARNING: read from Xen= PV Device MMIO space (ad > xen_pv_mmio_write(uint64_t addr) "WARNING: write to Xen PV Device MMIO= space (address %"PRIx64")" > =20 > # hw/i386/pc.c > -mhp_pc_dimm_assigned_slot(int slot) "0x%d" > +mhp_pc_dimm_assigned_slot(int slot) "%d" > mhp_pc_dimm_assigned_address(uint64_t addr) "0x%"PRIx64 >=20 --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Sdf6i4jRKgW6Qmth3nlsNvImOwHsFqCN4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXarDtAAoJEKeha0olJ0NqHeoH/3rxy2xSgBnm5nOnKURlw7le 5gCtd5qEfomt/+o9k/7NxOlwThyAoeZO5JTwOh9SjkvoJda6msqn1rToksQMKy+c 3ZcL2KuXWQypNIYHgG9G2Ljl2x8CdqY+wxcZs22q4nVDKT/5D5SYShhKaNwgOt4S gmobm7AKdTiJhZAzVFgahsYOcgrYvcayPvIxUFh7aeLS/qOpwCI9bgvW0FLd44uR rZ8q3QTlzbk7SIJumKwKSlBhxHXHIKYdh1a4v4KQxpTZH2hwg2c3UnFtWO3bipNI 3N0OvZORN4O+bbVqThHzN9/D7KbqL7NluO+nsNYVh7/frb5OL7iOa4nOpD9LVPI= =+khi -----END PGP SIGNATURE----- --Sdf6i4jRKgW6Qmth3nlsNvImOwHsFqCN4--