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 <dmtrmonakhov@yandex-team.ru> Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
b90cb10531
commit
3709642896
|
@ -90,6 +90,9 @@ static void __init bert_print_all(struct acpi_bert_region *region,
|
|||
|
||||
if (skipped)
|
||||
pr_info(HW_ERR "Skipped %d error records\n", skipped);
|
||||
|
||||
if (printed + skipped)
|
||||
pr_info("Total records found: %d\n", printed + skipped);
|
||||
}
|
||||
|
||||
static int __init setup_bert_disable(char *str)
|
||||
|
|
Loading…
Reference in New Issue