ACPICA: Lint changes, no functional change.
authorBob Moore <robert.moore@intel.com>
Mon, 31 Dec 2012 00:05:39 +0000 (00:05 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Jan 2013 11:36:20 +0000 (12:36 +0100)
Some changes from lint.

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>
drivers/acpi/acpica/psloop.c
drivers/acpi/acpica/utdelete.c

index 5607805..a6f8592 100644 (file)
@@ -142,7 +142,8 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
                                    (u32)(walk_state->aml_offset +
                                          sizeof(struct acpi_table_header))));
 
-                       ACPI_DUMP_BUFFER(walk_state->parser_state.aml - 16, 48);
+                       ACPI_DUMP_BUFFER((walk_state->parser_state.aml - 16),
+                                        48);
 
 #ifdef ACPI_ASL_COMPILER
                        /*
@@ -159,9 +160,9 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
 
                        acpi_ut_dump_buffer(((u8 *)walk_state->parser_state.
                                             aml - 16), 48, DB_BYTE_DISPLAY,
-                                           walk_state->aml_offset +
-                                           sizeof(struct acpi_table_header) -
-                                           16);
+                                           (walk_state->aml_offset +
+                                            sizeof(struct acpi_table_header) -
+                                            16));
                        acpi_os_printf(" */\n");
 #endif
                }
index 53e6af8..c8bf44f 100644 (file)
@@ -340,7 +340,7 @@ void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list)
 {
        union acpi_operand_object **internal_obj;
 
-       ACPI_FUNCTION_NAME(ut_delete_internal_object_list);
+       ACPI_FUNCTION_ENTRY();
 
        /* Walk the null-terminated internal list */