]> git.baikalelectronics.ru Git - kernel.git/commit
pstore/platform: Use backend name for console registration
authorKees Cook <keescook@chromium.org>
Fri, 8 May 2020 16:26:28 +0000 (09:26 -0700)
committerKees Cook <keescook@chromium.org>
Sat, 30 May 2020 17:34:02 +0000 (10:34 -0700)
commite1a5dc5232b01ce6e9dddbb7aa2e66ed3821ccbe
tree602e153404b0da6cb4993664876fd1601aa63b4e
parent5bfc0c6df6a8b6fa51136df9439cd2b10568f2df
pstore/platform: Use backend name for console registration

If the pstore backend changes, there's no indication in the logs what
the console is (it always says "pstore"). Instead, pass through the
active backend's name. (Also adjust the selftest to match.)

Link: https://lore.kernel.org/lkml/20200510202436.63222-5-keescook@chromium.org/
Link: https://lore.kernel.org/lkml/20200526135429.GQ12456@shao2-debian
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/platform.c
tools/testing/selftests/pstore/pstore_tests