aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <[email protected]>2024-07-05 19:29:56 -0400
committerGreg Kroah-Hartman <[email protected]>2024-07-12 10:59:06 +0200
commitb727493011123db329e2901e3abf81a8d146b6fe (patch)
treed62a5378ae0457573911971d05ca4c57331e1739 /lib/memory-notifier-error-inject.c
parent0e7b7bde460304f44e8c6b212c3195ac2f69f6fe (diff)
kselftest: devices: Add test to detect device error logs
Log errors are the most widely used mechanism for reporting issues in the kernel. When an error is logged using the device helpers, eg dev_err(), it gets metadata attached that identifies the subsystem and device where the message is coming from. Introduce a new test that makes use of that metadata to report which devices logged errors (or more critical messages). Signed-off-by: NĂ­colas F. R. A. Prado <[email protected]> Acked-by: Shuah Khan <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions