pstore: Add prefix to ECC messages
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 1 Mar 2022 14:49:32 +0000 (15:49 +0100)
committerKees Cook <keescook@chromium.org>
Tue, 1 Mar 2022 18:36:59 +0000 (10:36 -0800)
commit023bbde3db41078780f5d57e5354212f974c4bca
tree6f348df27060da3093226a8c4955cc70ef2de143
parent26291c54e111ff6ba87a164d85d4a4e134b7315c
pstore: Add prefix to ECC messages

The "No errors detected" message from the ECC code is shown at the end
of the pstore log and can be confusing or misleading, especially since
it usually appears just after a kernel crash log which normally means
quite the opposite of "no errors".  Prefix the message to clarify that
this message is only about ECC-detected errors.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220301144932.89549-1-vincent.whitchurch@axis.com
fs/pstore/ram_core.c