The option causes that vsprintf() will not hash pointers. Yes, it is
primary used by printk(). But it is used also in some other
interfaces, especially trace_printk(), seq_buf() API. The naked
pointers might appear more or less anywhere, including procfs,
sysfs, debugfs.
IMHO, we should fix this. The long discussion was about how to make
this option safe. Users should be aware that it is not only about
the kernel log.
I suggest to rename the parameter "debug_never_hash_pointer" and use
the same name for the parameter and the variable.
We also should make the warning more generic. I suggest to replace the
first paragraph with something like:
pr_warn("** The hashing of printed pointers has been disabled **\n");
pr_warn("** for debugging purposes. **\n");
Feel free to use a better wording. I am not a native speaker.
Of course, also kernel-parameters.txt has to be updated accordingly.