acpi/apei/erst: Remove "Error" from initialization and disable output
Subsystems (3)
PATCH RESEND 1/1 acpi/apei/erst: Remove "Error" from initialization and disable output
Sent a few weeks back ... no reply.
P.
---8<---
The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.
Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.
--- drivers/acpi/apei/erst.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/acpi/apei/erst.c +2 -4
@@ -1129,8 +1129,7 @@ static int __init erst_init(void) goto err;if (erst_disable) { -pr_info ( -"Error Record Serialization Table (ERST) support is disabled.\n" ); +pr_info ("ACPI ERST support is disabled.\n" ); goto err; }
@@ -1187,8 +1186,7 @@ static int __init erst_init(void)if (!erst_erange.vaddr) goto err_release_erange; -pr_info ( -"Error Record Serialization Table (ERST) support is initialized.\n" ); +pr_info ("ACPI ERST support is initialized.\n" ); buf =kmalloc (erst_erange.size,GFP_KERNEL );spin_lock_init (&erst_info.buf_lock);
Signature · 1 line
1.7.9.3
Quoted 1 line · Prarit Bhargava
Sent a few weeks back ... no reply.
I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.
-Kees
Quoted 15 lines
P.
---8<---
The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.
Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.
Quoted 7 lines
Signed-off-by Prarit Bhargava <[email protected]>Cc Kees Cook <[email protected]>Cc Anton Vorontsov <[email protected]>Cc Colin Cross <[email protected]>Cc Tony Luck <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Len Brown <[email protected]>
This is fine by me.
Quoted 31 lines
--- drivers/acpi/apei/erst.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/acpi/apei/erst.c +2
-5@@ -1129,8 +1129,7 @@ static int __init erst_init(void) goto err;if (erst_disable) { -pr_info ( -"Error Record Serialization Table (ERST) support is disabled.\n" ); +pr_info ("ACPI ERST support is disabled.\n" ); goto err; }@@ -1187,8 +1186,7 @@ static int __init erst_init(void)if (!erst_erange.vaddr) goto err_release_erange; -pr_info ( -"Error Record Serialization Table (ERST) support is initialized.\n" ); +pr_info ("ACPI ERST support is initialized.\n" ); buf =kmalloc (erst_erange.size,GFP_KERNEL );spin_lock_init (&erst_info.buf_lock); --1.7.9.3
Signature · 2 lines
Kees Cook Pixel Security
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava
Sent a few weeks back ... no reply.
I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.
-Kees
ping -- Huang? Rafael?
P.
Quoted 60 lines
Quoted 16 lines
P.
---8<---
The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.
Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.
Quoted 7 lines
Signed-off-by Prarit Bhargava <[email protected]>Cc Kees Cook <[email protected]>Cc Anton Vorontsov <[email protected]>Cc Colin Cross <[email protected]>Cc Tony Luck <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Len Brown <[email protected]>This is fine by me.
Quoted 31 lines
--- drivers/acpi/apei/erst.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/acpi/apei/erst.c +2
-5@@ -1129,8 +1129,7 @@ static int __init erst_init(void) goto err;if (erst_disable) { -pr_info ( -"Error Record Serialization Table (ERST) support is disabled.\n" ); +pr_info ("ACPI ERST support is disabled.\n" ); goto err; }@@ -1187,8 +1186,7 @@ static int __init erst_init(void)if (!erst_erange.vaddr) goto err_release_erange; -pr_info ( -"Error Record Serialization Table (ERST) support is initialized.\n" ); +pr_info ("ACPI ERST support is initialized.\n" ); buf =kmalloc (erst_erange.size,GFP_KERNEL );spin_lock_init (&erst_info.buf_lock); --1.7.9.3
Quoted 11 lines · Prarit Bhargava
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava
Sent a few weeks back ... no reply.
I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.
-Kees
ping -- Huang? Rafael?
Please resend this with a CC to Boris Petkov.
Thanks,
Rafael
Quoted 10 lines · Prarit Bhargava
Quoted 7 lines · Kees Cook
Quoted 1 line · Prarit Bhargava
Sent a few weeks back ... no reply.
I've added Huang Ying to CC, as the original author of this code. It looks fine to me, FWIW.
-Kees
ping -- Huang? Rafael?
The change is find for me.
Best Regards,
Huang, Ying
Quoted 62 lines
P.
Quoted 60 lines
Quoted 16 lines
P.
---8<---
The word "Error" is used by many QA groups and users as a keyword to indicate that there is a critical failure during system bootup. The ESRT code would interact better with these scripts if the word "Error" was dropped from non-error messages. Other ACPI features only use the acronym for initialization and disable messages so the ESRT code should do the same.
Remove "Error Record Serialization Table" and replace it with "ACPI ESRT" in the messages.
Quoted 7 lines
Signed-off-by Prarit Bhargava <[email protected]>Cc Kees Cook <[email protected]>Cc Anton Vorontsov <[email protected]>Cc Colin Cross <[email protected]>Cc Tony Luck <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Len Brown <[email protected]>This is fine by me.
Quoted 31 lines
--- drivers/acpi/apei/erst.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/acpi/apei/erst.c +2
-5@@ -1129,8 +1129,7 @@ static int __init erst_init(void) goto err;if (erst_disable) { -pr_info ( -"Error Record Serialization Table (ERST) support is disabled.\n" ); +pr_info ("ACPI ERST support is disabled.\n" ); goto err; }@@ -1187,8 +1186,7 @@ static int __init erst_init(void)if (!erst_erange.vaddr) goto err_release_erange; -pr_info ( -"Error Record Serialization Table (ERST) support is initialized.\n" ); +pr_info ("ACPI ERST support is initialized.\n" ); buf =kmalloc (erst_erange.size,GFP_KERNEL );spin_lock_init (&erst_info.buf_lock); --1.7.9.3