From: "Jan Beulich" Subject: [PATCH, resend] qemu: fix a format specifier Date: Thu, 07 Jan 2010 16:28:07 +0000 Message-ID: <4B4619A70200007800028AF9@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartE9C3E987.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartE9C3E987.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline This addresses a compiler warning and makes the log entry meaningful on 32-bit. Signed-off-by: Jan Beulich --- 2009-11-30.orig/qemu/hw/pt-msi.c 2009-11-30 10:19:29.000000000 = +0100 +++ 2009-11-30/qemu/hw/pt-msi.c 2009-11-30 10:42:44.000000000 +0100 @@ -585,7 +585,7 @@ int pt_msix_init(struct pt_dev *dev, int PT_LOG("Error: Can't open /dev/mem: %s\n", strerror(errno)); goto error_out; } - PT_LOG("table_off =3D %llx, total_entries =3D %d\n",table_off,total_en= tries); + PT_LOG("table_off =3D %x, total_entries =3D %d\n", table_off, = total_entries); dev->msix->table_offset_adjust =3D table_off & 0x0fff; dev->msix->phys_iomem_base =3D mmap(0, total_entries * 16 + dev->msix-= >table_offset_adjust, PROT_WRITE | PROT_READ, MAP_SHARED | MAP_LOCKED,= --=__PartE9C3E987.0__= Content-Type: text/plain; name="xen-qemu-pt-msi-warning.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xen-qemu-pt-msi-warning.patch" This addresses a compiler warning and makes the log entry meaningful=0Aon = 32-bit.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = 2009-11-30.orig/qemu/hw/pt-msi.c 2009-11-30 10:19:29.000000000 = +0100=0A+++ 2009-11-30/qemu/hw/pt-msi.c 2009-11-30 10:42:44.000000000 = +0100=0A@@ -585,7 +585,7 @@ int pt_msix_init(struct pt_dev *dev, int=0A = PT_LOG("Error: Can't open /dev/mem: %s\n", strerror(errno));=0A = goto error_out;=0A }=0A- PT_LOG("table_off =3D %llx, total_entries= =3D %d\n",table_off,total_entries);=0A+ PT_LOG("table_off =3D %x, = total_entries =3D %d\n", table_off, total_entries);=0A dev->msix->table= _offset_adjust =3D table_off & 0x0fff;=0A dev->msix->phys_iomem_base = =3D mmap(0, total_entries * 16 + dev->msix->table_offset_adjust,=0A = PROT_WRITE | PROT_READ, MAP_SHARED | MAP_LOCKED,=0A --=__PartE9C3E987.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartE9C3E987.0__=--