From: Colin King <colin.king@canonical.com>
To: Len Brown <lenb@kernel.org>, "Rafael J. Wysocki" <rjw@sisk.pl>,
linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 3/5] ACPI sysfs: remove unnecessary newline from exception
Date: Thu, 29 Nov 2012 11:53:14 +0000 [thread overview]
Message-ID: <1354189996-14431-4-git-send-email-colin.king@canonical.com> (raw)
In-Reply-To: <1354189996-14431-1-git-send-email-colin.king@canonical.com>
From: Colin Ian King <colin.king@canonical.com>
ACPI_EXCEPTION() already appends a newline, so there is no
need for the invalid GPE message to include one too.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/acpi/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/sysfs.c b/drivers/acpi/sysfs.c
index 7c3f98b..9fc5379 100644
--- a/drivers/acpi/sysfs.c
+++ b/drivers/acpi/sysfs.c
@@ -498,7 +498,7 @@ static int get_status(u32 index, acpi_event_status *status,
result = acpi_get_gpe_device(index, handle);
if (result) {
ACPI_EXCEPTION((AE_INFO, AE_NOT_FOUND,
- "Invalid GPE 0x%x\n", index));
+ "Invalid GPE 0x%x", index));
goto end;
}
result = acpi_get_gpe_status(*handle, index, status);
--
1.8.0
next prev parent reply other threads:[~2012-11-29 11:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-29 11:53 [PATCH 0/5] remove some unnecessary newline from error messages Colin King
2012-11-29 11:53 ` [PATCH 1/5] ACPI dock: remove unnecessary newline from exception message Colin King
2012-11-29 18:25 ` Toshi Kani
2012-11-29 11:53 ` [PATCH 2/5] ACPI video: remove unnecessary newline from error messages Colin King
2012-11-29 11:53 ` Colin King [this message]
2012-11-29 11:53 ` [PATCH 4/5] ACPICA: GPE support: " Colin King
2012-11-29 11:53 ` [PATCH 5/5] ACPI thermal: remove unnecessary newline from exception message Colin King
2013-01-15 22:27 ` [PATCH 0/5] remove some unnecessary newline from error messages Rafael J. Wysocki
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=1354189996-14431-4-git-send-email-colin.king@canonical.com \
--to=colin.king@canonical.com \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@sisk.pl \
/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
all inboxes | Powered by JetHome®