[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH mini-os] Correct printf formatting for tpm_tis message.



Ian Campbell, le Fri 26 Jun 2015 11:58:40 +0100, a écrit :
> This is under #ifdef HAVE_LIBC so went unnoticed before.
> 
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>

> ---
>  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
> 

-- 
Samuel
<i8b4uUnderground> d-_-b
<BonyNoMore> how u make that inverted b?
<BonyNoMore> wait
<BonyNoMore> never mind

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.