diff options
author | Kees Cook <keescook@chromium.org> | 2020-05-08 04:36:22 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-05-30 19:34:03 +0200 |
commit | fb13cb8a0482105a415e24042209d02a684255e2 (patch) | |
tree | 8cc5c83aea2f8c4b2676b0075e0d8200b02b8da3 /include/linux/pstore.h | |
parent | printk: honor the max_reason field in kmsg_dumper (diff) | |
download | linux-fb13cb8a0482105a415e24042209d02a684255e2.tar.xz linux-fb13cb8a0482105a415e24042209d02a684255e2.zip |
printk: Introduce kmsg_dump_reason_str()
The pstore subsystem already had a private version of this function.
With the coming addition of the pstore/zone driver, this needs to be
shared. As it really should live with printk, move it there instead.
Link: https://lore.kernel.org/lkml/20200515184434.8470-4-keescook@chromium.org/
Acked-by: Petr Mladek <pmladek@suse.com>
Acked-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Reviewed-by: Pavel Tatashin <pasha.tatashin@soleen.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/linux/pstore.h')
0 files changed, 0 insertions, 0 deletions