Re: [PATCH] printk: clarify the documentation for plain pointer printing
From: Petr Mladek <pmladek@suse.com>
Date: 2021-02-26 09:16:14
Also in:
lkml
From: Petr Mladek <pmladek@suse.com>
Date: 2021-02-26 09:16:14
Also in:
lkml
On Thu 2021-02-25 17:46:39, Vlastimil Babka wrote:
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 favour 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 <redacted>
Nice! Reviewed-by: Petr Mladek <pmladek@suse.com> Best Regards, Petr