]> xenbits.xensource.com Git - people/liuw/mini-os.git/commitdiff
Correct printf formatting for tpm_tis message.
authorIan Campbell <ian.campbell@citrix.com>
Fri, 26 Jun 2015 10:58:40 +0000 (11:58 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jul 2015 09:23:16 +0000 (10:23 +0100)
This is under #ifdef HAVE_LIBC so went unnoticed before.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
tpm_tis.c

index 98fe837234337f3c66bf4805fdbd08dfcaa6e11e..475ac5d371db2af70be9dfe5b1b532edf4324991 100644 (file)
--- 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;
             }