diff options
| author | Vlastimil Babka <[email protected]> | 2021-02-25 16:46:39 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-04-07 11:20:59 +0000 |
| commit | a48849e2358ecf1a347a03b33dc27b9b2f25f8fd (patch) | |
| tree | f47ee70b3fb98b2b99b5ac451a4d480bbdbbb132 /drivers/platform/x86/intel/pmt/class.c | |
| parent | MAINTAINERS: update Senozhatsky email address (diff) | |
| download | kernel-a48849e2358ecf1a347a03b33dc27b9b2f25f8fd.tar.gz kernel-a48849e2358ecf1a347a03b33dc27b9b2f25f8fd.zip | |
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 <[email protected]>
Reviewed-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
