Message ID | 20230605034918.13478-1-ivan.hu@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | lib: fwts_oops: fix the WARN_ON warnings in kernel not found | expand |
diff --git a/src/lib/src/fwts_oops.c b/src/lib/src/fwts_oops.c index f23ac867..81fdec13 100644 --- a/src/lib/src/fwts_oops.c +++ b/src/lib/src/fwts_oops.c @@ -61,6 +61,8 @@ static void fwts_klog_stack_dump( dumpable |= FWTS_OOPS_GOT_OOPS; if (strstr(line, "WARNING: at")) dumpable |= FWTS_OOPS_GOT_WARN_ON; + if (strstr(line, "WARNING: CPU:")) + dumpable |= FWTS_OOPS_GOT_WARN_ON; if (strstr(line, "Call Trace:")) dumpable |= FWTS_OOPS_GOT_CALL_TRACE; if (strstr(line, "--[ end trace")) {
BugLink: https://bugs.launchpad.net/fwts/+bug/2022871 Due to the kernel warning message changed by the commuted dcb6b45254e2281b6f99ea7f2d51343954aa3ba8, "panic: add cpu/pid to warn_slowpath_common in WARNING printk()s". Signed-off-by: Ivan Hu <ivan.hu@canonical.com> --- src/lib/src/fwts_oops.c | 2 ++ 1 file changed, 2 insertions(+)