* [PATCH] warning on printf format
@ 2005-08-14 17:35 aq
0 siblings, 0 replies; 2+ messages in thread
From: aq @ 2005-08-14 17:35 UTC (permalink / raw)
To: List: Xen Developers
This patch fixes a warning message on printf format.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
diff -r 3fe7b0b7f6c5 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Sun Aug 14 09:17:54 2005
+++ b/xen/arch/x86/mm.c Mon Aug 15 02:33:21 2005
@@ -3054,7 +3054,7 @@
*/
BUG();
}
- PTWR_PRINTK("[%c] disconnected_l1va at %p is %lx\n",
+ PTWR_PRINTK("[%c] disconnected_l1va at %p is %x\n",
PTWR_PRINT_WHICH, ptep, pte.l1);
l1e_remove_flags(pte, _PAGE_RW);
@@ -3072,7 +3072,7 @@
/* Ensure that there are no stale writable mappings in any TLB. */
/* NB. INVLPG is a serialising instruction: flushes pending updates. */
flush_tlb_one_mask(d->cpumask, l1va);
- PTWR_PRINTK("[%c] disconnected_l1va at %p now %lx\n",
+ PTWR_PRINTK("[%c] disconnected_l1va at %p now %x\n",
PTWR_PRINT_WHICH, ptep, pte.l1);
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: [PATCH] warning on printf format
@ 2005-08-14 17:39 Ian Pratt
0 siblings, 0 replies; 2+ messages in thread
From: Ian Pratt @ 2005-08-14 17:39 UTC (permalink / raw)
To: aq, List: Xen Developers
> This patch fixes a warning message on printf format.
It's already fixed in the latest tree. You need to use PRIpte as the
format string when printing PTEs in code that is shared between x86_32
and PAE or x86-64.
Ian
> Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
>
>
> diff -r 3fe7b0b7f6c5 xen/arch/x86/mm.c
> --- a/xen/arch/x86/mm.c Sun Aug 14 09:17:54 2005
> +++ b/xen/arch/x86/mm.c Mon Aug 15 02:33:21 2005
> @@ -3054,7 +3054,7 @@
> */
> BUG();
> }
> - PTWR_PRINTK("[%c] disconnected_l1va at %p is %lx\n",
> + PTWR_PRINTK("[%c] disconnected_l1va at %p is %x\n",
> PTWR_PRINT_WHICH, ptep, pte.l1);
> l1e_remove_flags(pte, _PAGE_RW);
>
> @@ -3072,7 +3072,7 @@
> /* Ensure that there are no stale writable mappings in
> any TLB. */
> /* NB. INVLPG is a serialising instruction: flushes
> pending updates. */
> flush_tlb_one_mask(d->cpumask, l1va);
> - PTWR_PRINTK("[%c] disconnected_l1va at %p now %lx\n",
> + PTWR_PRINTK("[%c] disconnected_l1va at %p now %x\n",
> PTWR_PRINT_WHICH, ptep, pte.l1);
>
> /*
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-14 17:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-14 17:35 [PATCH] warning on printf format aq
-- strict thread matches above, loose matches on Subject: below --
2005-08-14 17:39 Ian Pratt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.