public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message
@ 2016-03-28 17:59 Daniel Bristot de Oliveira
  2016-03-29 19:09 ` Moore, Robert
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Bristot de Oliveira @ 2016-03-28 17:59 UTC (permalink / raw)
  To: Robert Moore, Lv Zheng, Rafael J. Wysocki, Len Brown
  Cc: linux-acpi, devel, linux-kernel

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-31  4:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-28 17:59 [PATCH] ACPICA: Remove unnecessary "\n" from an ACPI_INFO boot message Daniel Bristot de Oliveira
2016-03-29 19:09 ` Moore, Robert
2016-03-31  1:11   ` Daniel Bristot de Oliveira
2016-03-31  4:27     ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox