From: Ian Campbell Date: Fri, 26 Jun 2015 10:58:40 +0000 (+0100) Subject: Correct printf formatting for tpm_tis message. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b36bcb370d611ad7f41e8c21d061e6291e088c58;p=people%2Fliuw%2Flibxenctrl-split%2Fmini-os.git Correct printf formatting for tpm_tis message. This is under #ifdef HAVE_LIBC so went unnoticed before. Signed-off-by: Ian Campbell Acked-by: Samuel Thibault --- 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; }