Submitter | Jonathan A. Kollasch |
---|---|
Date | 2010-10-05 19:34:02 |
Message ID | <20101005193402.GH12447@tarantulon.kollasch.net> |
Download | mbox | patch |
Permalink | /patch/2047/ |
State | Accepted |
Commit | r5915 |
Headers | show |
Comments
On Tue, Oct 5, 2010 at 1:34 PM, Jonathan A. Kollasch <jakllsch@kollasch.net> wrote: > Use %p instead of %x to print void *. > > Signed-off-by: Jonathan Kollasch <jakllsch@kollasch.net> > Acked-by: Jonathan Kollasch <jakllsch@kollasch.net> Rev 5915. Thanks, Myles
Patch
Index: src/northbridge/amd/amdk8/debug.c =================================================================== --- src/northbridge/amd/amdk8/debug.c (revision 5914) +++ src/northbridge/amd/amdk8/debug.c (working copy) @@ -6,7 +6,7 @@ static inline void print_debug_addr(const char *str, void *val) { #if CONFIG_DEBUG_CAR - printk(BIOS_DEBUG, "------Address debug: %s%x------\n", str, val); + printk(BIOS_DEBUG, "------Address debug: %s%p------\n", str, val); #endif }