Received: from list by lists.gnu.org with archive (Exim 4.71) id 1dKfgA-0004y7-Ml for mharc-grub-devel@gnu.org; Tue, 13 Jun 2017 02:51:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKfg7-0004xT-OS for grub-devel@gnu.org; Tue, 13 Jun 2017 02:51:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKfg3-0005Ou-Nw for grub-devel@gnu.org; Tue, 13 Jun 2017 02:51:51 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:60874) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKfg3-0005Oj-D2 for grub-devel@gnu.org; Tue, 13 Jun 2017 02:51:47 -0400 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Tue, 13 Jun 2017 08:51:44 +0200 Received: from linux-9gqx.suse.de (nwb-a10-snat.microfocus.com [10.120.13.202]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Tue, 13 Jun 2017 07:51:13 +0100 Date: Tue, 13 Jun 2017 14:51:06 +0800 From: Michael Chang To: The development of GNU GRUB Subject: [PATCH] ehci: fix build error of print format specifier Message-ID: <20170613065106.GA29780@linux-9gqx.suse.de> Mail-Followup-To: The development of GNU GRUB MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 195.135.221.5 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jun 2017 06:51:52 -0000 It is introduced by commit e058df7b5a9cc7aaa9872eaa916b715544a8f9840, use PRIxGRUB_ADDR as format specfier to fix the portability problem. --- grub-core/bus/usb/ehci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c index c772e76..bdd77b5 100644 --- a/grub-core/bus/usb/ehci.c +++ b/grub-core/bus/usb/ehci.c @@ -504,7 +504,7 @@ grub_ehci_init_device (volatile void *regs) #endif grub_dprintf ("ehci", - "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08x\n", + "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08" PRIxGRUB_ADDR "\n", (grub_addr_t) e->iobase_ehcc + caplen); grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n", grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND)); @@ -696,7 +696,7 @@ grub_ehci_init_device (volatile void *regs) grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: OK at all\n"); grub_dprintf ("ehci", - "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08x\n", + "EHCI grub_ehci_pci_iter: iobase of oper. regs: %08" PRIxGRUB_ADDR "\n", (grub_addr_t) regs); grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: COMMAND: %08x\n", grub_ehci_oper_read32 (e, GRUB_EHCI_COMMAND)); -- 2.6.2