summaryrefslogtreecommitdiffstats
path: root/Documentation/core-api
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-03-22 15:53:36 +1030
committerJonathan Corbet <corbet@lwn.net>2018-03-23 12:42:18 -0600
commit156383b190cd1b240a4c8636c9ce7a2a42938b24 (patch)
tree1047ad0ee533affcaa2ac45af72e4961284f1cd9 /Documentation/core-api
parentbf02d491237eea10290bd379bf7fc8c37ac6c3b4 (diff)
downloadop-kernel-dev-156383b190cd1b240a4c8636c9ce7a2a42938b24.zip
op-kernel-dev-156383b190cd1b240a4c8636c9ce7a2a42938b24.tar.gz
Documentation: Mention why %p prints ptrval
When debugging recent kernels, people will see '(ptrval)' but there isn't much information as to what that means. Briefly describe why it's there. Signed-off-by: Joel Stanley <joel@jms.id.au> Acked-by: Tobin C. Harding <me@tobin.cc> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/core-api')
-rw-r--r--Documentation/core-api/printk-formats.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/core-api/printk-formats.rst b/Documentation/core-api/printk-formats.rst
index 934559b..eb30efd 100644
--- a/Documentation/core-api/printk-formats.rst
+++ b/Documentation/core-api/printk-formats.rst
@@ -60,8 +60,8 @@ Plain Pointers
Pointers printed without a specifier extension (i.e unadorned %p) are
hashed to prevent leaking information about the kernel memory layout. This
has the added benefit of providing a unique identifier. On 64-bit machines
-the first 32 bits are zeroed. If you *really* want the address see %px
-below.
+the first 32 bits are zeroed. The kernel will print ``(ptrval)`` until it
+gathers enough entropy. If you *really* want the address see %px below.
Symbols/Function Pointers
-------------------------
OpenPOWER on IntegriCloud