Hm, that bit looks possibly broken - some useful warning in irq context could print
a pointer into the syslog and this would generate a second warning? That probably
would crash as it recurses back into the printk code?
Instead a warning could be inserted into the generated output instead, for example
'pK-error' (carefully staying within pointer length limits).
Also, it would be nice to see a couple of actual %pK usage sites submitted as well -
instead of this pure infrastructure patch.
Ingo
--