Re: [PATCH] Lguest32 print hex on bad reads and writes

From: H. Peter Anvin
Date: Thu Apr 05 2007 - 01:59:24 EST


Rusty Russell wrote:
On Wed, 2007-04-04 at 23:14 -0400, Steven Rostedt wrote:
On Wed, 2007-04-04 at 23:06 -0400, Kyle Moffett wrote:

(Erk, I wonder what I was thinking when I wrote that?) Can I ask for %#x (or 0x%x)? I'm easily confused.
How about "%p" for pointers?
But that would require casting the numbers to pointers.

And the kernel's printk doesn't put 0x on pointers anyway, last I
checked 8(


That's really the bug. Let's fix it.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/