ACPI/ERST: Name ERST table in otherwise opaque error messages
PATCH 1/1 ACPI/ERST: Name ERST table in otherwise opaque error messages
xen/drivers/acpi/apei/erst.c +2 -2
@@ -781,11 +781,11 @@ int __init erst_init(void) status =acpi_get_table (ACPI_SIG_ERST ,0 , (struct acpi_table_header **)&erst_tab);if (status ==AE_NOT_FOUND ) { -printk (KERN_ERR "Table is not found!\n" ); +printk (KERN_ERR "ERST table is not found!\n" );return -ENODEV ; }else if (ACPI_FAILURE (status)) {const char *msg =acpi_format_exception (status); -printk (KERN_ERR "Failed to get table, %s\n" , msg); +printk (KERN_ERR "Failed to get ESRT table, %s\n" , msg);return -EINVAL ; }
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>diff -r
a6b81234b189-r7fdef201c0b4xen/drivers/acpi/apei/erst.c
xen/drivers/acpi/apei/erst.c int __init erst_init(void) · line 788
Quoted 10 lines
xen/drivers/acpi/apei/erst.c +2
-2@@ -781,11 +781,11 @@ int __init erst_init(void) status =acpi_get_table (ACPI_SIG_ERST ,0 , (struct acpi_table_header **)&erst_tab);if (status ==AE_NOT_FOUND ) { -printk (KERN_ERR "Table is not found!\n" ); +printk (KERN_ERR "ERST table is not found!\n" );return -ENODEV ; }else if (ACPI_FAILURE (status)) {const char *msg =acpi_format_exception (status); -printk (KERN_ERR "Failed to get table, %s\n" , msg); +printk (KERN_ERR "Failed to get ESRT table, %s\n" , msg);
I'll fix the spelling, and once at it also lower the severities (these really aren't errors - the former is informational, while the latter is no more than a warning imo).
Jan
Quoted 3 lines
xen/drivers/acpi/apei/erst.c +0
-0return -EINVAL ; }
Quoted 21 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Andrew Cooper
Signed-off-by Andrew Cooper <[email protected]>diff -r
a6b81234b189-r7fdef201c0b4xen/drivers/acpi/apei/erst.cxen/drivers/acpi/apei/erst.c int __init erst_init(void) · line 788
Quoted 10 lines
xen/drivers/acpi/apei/erst.c +2
-2@@ -781,11 +781,11 @@ int __init erst_init(void) status =acpi_get_table (ACPI_SIG_ERST ,0 , (struct acpi_table_header **)&erst_tab);if (status ==AE_NOT_FOUND ) { -printk (KERN_ERR "Table is not found!\n" ); +printk (KERN_ERR "ERST table is not found!\n" );return -ENODEV ; }else if (ACPI_FAILURE (status)) {const char *msg =acpi_format_exception (status); -printk (KERN_ERR "Failed to get table, %s\n" , msg); +printk (KERN_ERR "Failed to get ESRT table, %s\n" , msg);I'll fix the spelling, and once at it also lower the severities (these really aren't errors - the former is informational, while the latter is no more than a warning imo).
Quoted 1 line
Jan
Thanks - I realised the spelling error after I left last night and was going to submit a correction if you hadn't beaten me to it.
~Andrew