From: Ian Campbell Subject: [PATCH mini-os] Correct printf formatting for tpm_tis message. Date: Fri, 26 Jun 2015 11:58:40 +0100 Message-ID: <1435316320-1811-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: minios-devel@lists.xenproject.org Cc: samuel.thibault@ens-lyon.org, Daniel De Graaf , Thomas Leonard , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is under #ifdef HAVE_LIBC so went unnoticed before. Signed-off-by: Ian Campbell --- tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpm_tis.c b/tpm_tis.c index 98fe837..475ac5d 100644 --- a/tpm_tis.c +++ b/tpm_tis.c @@ -1429,7 +1429,7 @@ struct tpm_chip* init_tpm2_tis(unsigned long baseaddr, int localities, unsigned /* Map the page in now */ if ((tpm->pages[i] = ioremap_nocache(addr, PAGE_SIZE)) == NULL) { - printk("Unable to map iomem page a address %p\n", addr); + printk("Unable to map iomem page a address %lx\n", addr); goto abort_egress; } -- 1.7.10.4