Skip to content

Commit 3709642

Browse files
Dmitry Monakhovrafaeljw
authored andcommitted
ACPI: APEI: Add BERT error log footer
Print total number of records found during BERT log parsing. This also simplify dmesg parser implementation for BERT events. Signed-off-by: Dmitry Monakhov <[email protected]> Acked-by: Tony Luck <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent b90cb10 commit 3709642

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/acpi/apei/bert.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ static void __init bert_print_all(struct acpi_bert_region *region,
9090

9191
if (skipped)
9292
pr_info(HW_ERR "Skipped %d error records\n", skipped);
93+
94+
if (printed + skipped)
95+
pr_info("Total records found: %d\n", printed + skipped);
9396
}
9497

9598
static int __init setup_bert_disable(char *str)

0 commit comments

Comments
 (0)