aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2013-01-25 00:41:16 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-01-25 07:30:48 -0500
commit5e30a96e47f99c63c04a0e7949d896cba80dd594 (patch)
tree7bb970786c131499f5aca55703260ac7dc4032e1
parentd9652b4e8a26384be959770839773a9dee7d0c2c (diff)
ACPICA: Remove some extraneous newlines in ACPI_ERROR type calls
These macros/functions automatically insert a newline, so the format string should not contain a newline at the end. (This allows these functions to add information to the end of the output line.) Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r--drivers/acpi/acpica/dsobject.c2
-rw-r--r--drivers/acpi/acpica/dswload2.c2
-rw-r--r--drivers/acpi/acpica/hwgpe.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/acpica/dsobject.c b/drivers/acpi/acpica/dsobject.c
index 2e6288dffd58..e20e9f84eee8 100644
--- a/drivers/acpi/acpica/dsobject.c
+++ b/drivers/acpi/acpica/dsobject.c
@@ -525,7 +525,7 @@ acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state,
525 } 525 }
526 526
527 ACPI_INFO((AE_INFO, 527 ACPI_INFO((AE_INFO,
528 "Actual Package length (%u) is larger than NumElements field (%u), truncated\n", 528 "Actual Package length (%u) is larger than NumElements field (%u), truncated",
529 i, element_count)); 529 i, element_count));
530 } else if (i < element_count) { 530 } else if (i < element_count) {
531 /* 531 /*
diff --git a/drivers/acpi/acpica/dswload2.c b/drivers/acpi/acpica/dswload2.c
index 620a0230b726..4407ff2377d5 100644
--- a/drivers/acpi/acpica/dswload2.c
+++ b/drivers/acpi/acpica/dswload2.c
@@ -222,7 +222,7 @@ acpi_ds_load2_begin_op(struct acpi_walk_state *walk_state,
222 */ 222 */
223 ACPI_WARNING((AE_INFO, 223 ACPI_WARNING((AE_INFO,
224 "Type override - [%4.4s] had invalid type (%s) " 224 "Type override - [%4.4s] had invalid type (%s) "
225 "for Scope operator, changed to type ANY\n", 225 "for Scope operator, changed to type ANY",
226 acpi_ut_get_node_name(node), 226 acpi_ut_get_node_name(node),
227 acpi_ut_get_type_name(node->type))); 227 acpi_ut_get_type_name(node->type)));
228 228
diff --git a/drivers/acpi/acpica/hwgpe.c b/drivers/acpi/acpica/hwgpe.c
index d84fd8399226..20d02e93c990 100644
--- a/drivers/acpi/acpica/hwgpe.c
+++ b/drivers/acpi/acpica/hwgpe.c
@@ -135,7 +135,7 @@ acpi_hw_low_set_gpe(struct acpi_gpe_event_info *gpe_event_info, u32 action)
135 break; 135 break;
136 136
137 default: 137 default:
138 ACPI_ERROR((AE_INFO, "Invalid GPE Action, %u\n", action)); 138 ACPI_ERROR((AE_INFO, "Invalid GPE Action, %u", action));
139 return (AE_BAD_PARAMETER); 139 return (AE_BAD_PARAMETER);
140 } 140 }
141 141