[PATCH] powerpc: Nicer printing of address at oops

Segher Boessenkool segher at kernel.crashing.org
Tue Nov 8 00:08:38 EST 2005


>>> +			printk("data at address 0x%016lx\n", regs->dar);
>>
>> Nice idea, but 16 digits is a bit excessive for 32-bit...
>
> Ack, it's shared now, I forgot. Thanks.
>
> Here's a new patch. I don't like the thought of ifdeffing for it so 
> we'll
> just have to live with 8 digit padding for small 64-bit pointers. :-)

You can use "%0*lx".  Or just use "%p".


Segher




More information about the Linuxppc64-dev mailing list