[PATCH] acpiexec: Move an acpiexec specific purposed new line to acpiexec specific file

2016-09-22 Thread Lv Zheng
> No need, Robert did it already:
> 
> 1d435008fd9e ("Update an info message during table load phase.")

Not exactly what I meant. I meant the following on top of the above
mentioned commit. As the newline is an acpiexec specific logic, it should
be kept in acpiexec, shouldn't be left polluting a common file. Lv Zheng.

Signed-off-by: Lv Zheng 
--
Index: acpica/source/components/tables/tbxfload.c
===
--- acpica.orig/source/components/tables/tbxfload.c
+++ acpica/source/components/tables/tbxfload.c
@@ -348,11 +348,6 @@ AcpiTbLoadNamespace (
 Status = AE_CTRL_TERMINATE;
 }
 
-#ifdef ACPI_APPLICATION
-ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n"));
-#endif
-
-
 UnlockAndExit:
 (void) AcpiUtReleaseMutex (ACPI_MTX_TABLES);
 return_ACPI_STATUS (Status);
Index: acpica/source/tools/acpiexec/aetables.c
===
--- acpica.orig/source/tools/acpiexec/aetables.c
+++ acpica/source/tools/acpiexec/aetables.c
@@ -625,6 +625,7 @@ AeLoadTables (
 
 Status = AcpiLoadTables ();
 ACPI_CHECK_OK (AcpiLoadTables, Status);
+ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n"));
 
 /*
  * Test run-time control method installation. Do it twice to test code


[PATCH] acpiexec: Move an acpiexec specific purposed new line to acpiexec specific file

2016-09-22 Thread Lv Zheng
> No need, Robert did it already:
> 
> 1d435008fd9e ("Update an info message during table load phase.")

Not exactly what I meant. I meant the following on top of the above
mentioned commit. As the newline is an acpiexec specific logic, it should
be kept in acpiexec, shouldn't be left polluting a common file. Lv Zheng.

Signed-off-by: Lv Zheng 
To: Borislav Petkov 
Cc: Rafael J. Wysocki 
Cc: Rafael J. Wysocki 
Cc: Len Brown 
Cc: 
--
Index: acpica/source/components/tables/tbxfload.c
===
--- acpica.orig/source/components/tables/tbxfload.c
+++ acpica/source/components/tables/tbxfload.c
@@ -348,11 +348,6 @@ AcpiTbLoadNamespace (
 Status = AE_CTRL_TERMINATE;
 }
 
-#ifdef ACPI_APPLICATION
-ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n"));
-#endif
-
-
 UnlockAndExit:
 (void) AcpiUtReleaseMutex (ACPI_MTX_TABLES);
 return_ACPI_STATUS (Status);
Index: acpica/source/tools/acpiexec/aetables.c
===
--- acpica.orig/source/tools/acpiexec/aetables.c
+++ acpica/source/tools/acpiexec/aetables.c
@@ -625,6 +625,7 @@ AeLoadTables (
 
 Status = AcpiLoadTables ();
 ACPI_CHECK_OK (AcpiLoadTables, Status);
+ACPI_DEBUG_PRINT_RAW ((ACPI_DB_INIT, "\n"));
 
 /*
  * Test run-time control method installation. Do it twice to test code