diff options
author | Vlastimil Babka <vbabka@suse.cz> | 2021-02-25 17:46:39 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2021-04-07 13:20:59 +0200 |
commit | a48849e2358ecf1a347a03b33dc27b9b2f25f8fd (patch) | |
tree | f47ee70b3fb98b2b99b5ac451a4d480bbdbbb132 /kernel/gcov/gcc_base.c | |
parent | ea35d8677811296730e762a2888cda3f01d13a89 (diff) |
printk: clarify the documentation for plain pointer printing
We have several modifiers for plain pointers (%p, %px and %pK) and now
also the no_hash_pointers boot parameter. The documentation should help
to choose which variant to use. Importantly, we should discourage %px
in favor of %p (with the new boot parameter when debugging), and stress
that %pK should be only used for procfs and similar files, not dmesg
buffer. This patch clarifies the documentation in that regard.
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20210225164639.27212-1-vbabka@suse.cz
Diffstat (limited to 'kernel/gcov/gcc_base.c')
0 files changed, 0 insertions, 0 deletions