summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libahci_platform.c
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-11-23 10:59:45 +1100
committerTobin C. Harding <me@tobin.cc>2017-11-29 12:13:14 +1100
commit7b1924a1d930eb27fc79c4e4e2a6c1c970623e68 (patch)
treecdd958371ba49a69d64aae5df68ac0f181ba945d /drivers/ata/libahci_platform.c
parentad67b74d2469d9b82aaa572d76474c95bc484d57 (diff)
downloadop-kernel-dev-7b1924a1d930eb27fc79c4e4e2a6c1c970623e68.zip
op-kernel-dev-7b1924a1d930eb27fc79c4e4e2a6c1c970623e68.tar.gz
vsprintf: add printk specifier %px
printk specifier %p now hashes all addresses before printing. Sometimes we need to see the actual unmodified address. This can be achieved using %lx but then we face the risk that if in future we want to change the way the Kernel handles printing of pointers we will have to grep through the already existent 50 000 %lx call sites. Let's add specifier %px as a clear, opt-in, way to print a pointer and maintain some level of isolation from all the other hex integer output within the Kernel. Add printk specifier %px to print the actual unmodified address. Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'drivers/ata/libahci_platform.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud