]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
docs: correct documentation for %pK
authorTobin C. Harding <me@tobin.cc>
Wed, 22 Nov 2017 23:55:24 +0000 (10:55 +1100)
committerTobin C. Harding <me@tobin.cc>
Wed, 29 Nov 2017 01:02:58 +0000 (12:02 +1100)
Current documentation indicates that %pK prints a leading '0x'. This is
not the case.

Correct documentation for printk specifier %pK.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Documentation/printk-formats.txt

index 361789df51ecf58d5083436792588d2f12faa7f2..71b62db7eca2843c7f4ce1928fbdefef5956c930 100644 (file)
@@ -85,13 +85,12 @@ Examples::
        printk("Faulted at %pS\n", (void *)regs->ip);
        printk(" %s%pB\n", (reliable ? "" : "? "), (void *)*stack);
 
-
 Kernel Pointers
 ===============
 
 ::
 
-       %pK     0x01234567 or 0x0123456789abcdef
+       %pK     01234567 or 0123456789abcdef
 
 For printing kernel pointers which should be hidden from unprivileged
 users. The behaviour of ``%pK`` depends on the ``kptr_restrict sysctl`` - see