On Sat, 13 Apr 2019, Andreas Schwab wrote:
On Apr 13 2019, Finn Thain <fthain@xxxxxxxxxxxxxxxxxxx> wrote:
On Sat, 13 Apr 2019, Eero Tamminen wrote:
Unable to handle kernel access at virtual address (ptrval)
https://github.com/fthain/linux/commit/457961e86662a5d9fb42505034deba85fd85370f
Just use %px instead.
Right. That approach was my first attempt. To fix the regression that way
would involve a lot of patches.
# dmesg | grep ptrval
[ 0.320000] macfb: framebuffer at 0xf9001000, mapped to 0x(ptrval), size 234k
[ 0.420000] mac_esp mac_esp.0: esp0: regs[(ptrval):(null)] irq[19]
The original patch says there are 14000 printk values like these.
https://lore.kernel.org/lkml/1511921105-3647-4-git-send-email-me@xxxxxxxx/
I've no idea why the crippled %p was not made dependent on a Kconfig
symbol like CONFIG_DEBUG_FOO. Paranoia?
--
Andreas.