]> 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)
commit5ee7f14c0103f6082c286a5363c413ac469a48e9
tree602e153404b0da6cb4993664876fd1601aa63b4e
parent618ef0f71a5eb1b1a0bf6f2088dd9e442cd8b312
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