From b36bcb370d611ad7f41e8c21d061e6291e088c58 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Fri, 26 Jun 2015 11:58:40 +0100 Subject: [PATCH] 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 --- 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; } -- 2.39.5