lkml.org 
[lkml]   [2016]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message
Date
A "\n" at the end of bellow ACPI_INFO message is causing a blank line
in the kernel log:

ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded));

This patch removes the "\n".

Kernel log before this patch:
ACPI: Core revision 20160108
ACPI: 2 ACPI AML tables successfully acquired and loaded

Security Framework initialized

Kernel log after this patch:
ACPI: Core revision 20160108
ACPI: 2 ACPI AML tables successfully acquired and loaded
Security Framework initialized

Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>

diff --git a/drivers/acpi/acpica/tbxfload.c b/drivers/acpi/acpica/tbxfload.c
index 3151968..e435b84 100644
--- a/drivers/acpi/acpica/tbxfload.c
+++ b/drivers/acpi/acpica/tbxfload.c
@@ -240,7 +240,8 @@ acpi_status acpi_tb_load_namespace(void)
}

if (!tables_failed) {
- ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded\n", tables_loaded));
+ ACPI_INFO(("%u ACPI AML tables successfully acquired and loaded",
+ tables_loaded));
} else {
ACPI_ERROR((AE_INFO,
"%u table load failures, %u successful",
--
2.5.0
\
 
 \ /
  Last update: 2016-03-28 20:21    [W:0.078 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site