kselftest: devices: Add test to detect device error logsLog errors are the most widely used mechanism for reporting issues inthe kernel. When an error is logged using the device helpers, egdev_er
kselftest: devices: Add test to detect device error logsLog errors are the most widely used mechanism for reporting issues inthe kernel. When an error is logged using the device helpers, egdev_err(), it gets metadata attached that identifies the subsystem anddevice where the message is coming from. Introduce a new test that makesuse of that metadata to report which devices logged errors (or morecritical messages).Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>Acked-by: Shuah Khan <skhan@linuxfoundation.org>Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>Link: https://lore.kernel.org/r/20240705-dev-err-log-selftest-v2-3-163b9cd7b3c1@collabora.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
show more ...