Skip to contentSkip to conversation

ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

PATCH In review Alexander Kuleshov 3 participants 3 messages Aug 6, 2016 – Aug 8, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

as the ACPI_INFO already prints \n in the end itself.

---
 drivers/acpi/acpica/tbxfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/tbxfload.c +1 -1
index ac71abc..e7119b7 100644
@@ -240,7 +240,7 @@ 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",
Signature · 1 line
2.8.0.rc3.1353.gea9bdc0
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines

From: Alexander Kuleshov [mailto:kuleshovmail(a)gmail.com]
Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

as the ACPI_INFO already prints \n in the end itself.

[Lv Zheng]
Looks good.
Acked-by: Lv Zheng <lv.zheng(a)intel.com> However this patch should go through ACPICA upstream.

Thanks
-Lv

Quoted 23 lines
Signed-off-by Alexander Kuleshov <kuleshovmail(a)gmail.com>
---
 drivers/acpi/acpica/tbxfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpica/tbxfload.c +1 -1
index ac71abc..e7119b7 100644
@@ -240,7 +240,7 @@ 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 {
drivers/acpi/acpica/tbxfload.c +0 -1
 		ACPI_ERROR((AE_INFO,
 			    "%u table load failures, %u successful",
--

2.8.0.rc3.1353.gea9bdc0

#2 lore raw

I put that \n in there to break up the output from AcpiExec. This comes up every year or so, I think I'll give up -- without really seeing the harm in an extra \n.

Quoted 47 lines

-----Original Message-----
From: Zheng, Lv
Sent: Sunday, August 7, 2016 5:56 PM
To: Alexander Kuleshov <kuleshovmail(a)gmail.com>; Moore, Robert <robert.moore(a)intel.com>
Cc: Wysocki, Rafael J <rafael.j.wysocki(a)intel.com>; Len Brown <lenb(a)kernel.org>; linux-acpi(a)vger.kernel.org; devel(a)acpica.org; linux- kernel(a)vger.kernel.org
Subject: RE: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

Quoted 5 lines

From: Alexander Kuleshov [mailto:kuleshovmail(a)gmail.com]
Subject: [PATCH] ACPICA: Remove unnecessary '\n' in the end of ACPI_INFO output

as the ACPI_INFO already prints \n in the end itself.

[Lv Zheng]
Looks good.
Acked-by: Lv Zheng <lv.zheng(a)intel.com> However this patch should go through ACPICA upstream.

Thanks
-Lv

Quoted 23 lines
Signed-off-by Alexander Kuleshov <kuleshovmail(a)gmail.com>
---
 drivers/acpi/acpica/tbxfload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/drivers/acpi/acpica/tbxfload.c index ac71abc..e7119b7 100644

drivers/acpi/acpica/tbxfload.c +1 -1
@@ -240,7 +240,7 @@ 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 {
drivers/acpi/acpica/tbxfload.c +0 -1
 		ACPI_ERROR((AE_INFO,
 			    "%u table load failures, %u successful",
--

2.8.0.rc3.1353.gea9bdc0