From: Prarit Bhargava <prarit@redhat.com>
To: linux-acpi@vger.kernel.org
Cc: Prarit Bhargava <prarit@redhat.com>,
Kees Cook <keescook@chromium.org>,
Anton Vorontsov <anton@enomsg.org>,
Colin Cross <ccross@android.com>, Tony Luck <tony.luck@intel.com>,
"Rafael J. Wysocki" <rjw@rjwysocki.net>,
Len Brown <lenb@kernel.org>, Borislav Petkov <bp@suse.de>,
ying.huang@intel.com
Subject: [PATCH] acpi/apei/erst: Remove "Error" from initialization and disable output
Date: Mon, 17 Jul 2017 20:21:23 -0400 [thread overview]
Message-ID: <1500337283-25734-1-git-send-email-prarit@redhat.com> (raw)
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.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Anton Vorontsov <anton@enomsg.org>
Cc: Colin Cross <ccross@android.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Len Brown <lenb@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: ying.huang@intel.com
---
drivers/acpi/apei/erst.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c
index ec4f507b524f..a796b9d91e20 100644
--- a/drivers/acpi/apei/erst.c
+++ b/drivers/acpi/apei/erst.c
@@ -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.8.5.5
next reply other threads:[~2017-07-18 0:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 0:21 Prarit Bhargava [this message]
2017-07-18 5:26 ` [PATCH] acpi/apei/erst: Remove "Error" from initialization and disable output Borislav Petkov
2017-07-18 11:29 ` Prarit Bhargava
2017-07-18 14:07 ` Borislav Petkov
2017-07-18 15:46 ` Linda Knippers
2017-07-18 16:38 ` Borislav Petkov
-- strict thread matches above, loose matches on Subject: below --
2017-05-02 13:14 Prarit Bhargava
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1500337283-25734-1-git-send-email-prarit@redhat.com \
--to=prarit@redhat.com \
--cc=anton@enomsg.org \
--cc=bp@suse.de \
--cc=ccross@android.com \
--cc=keescook@chromium.org \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=rjw@rjwysocki.net \
--cc=tony.luck@intel.com \
--cc=ying.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox