Commit b5243764 authored by Bob Moore's avatar Bob Moore Committed by Andi Kleen

ACPICA: Several lint changes, no functional changes

Remove pointer cast warnings and fix for a debug printf.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarAndi Kleen <ak@linux.intel.com>
parent d97b4358
...@@ -503,11 +503,11 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info) ...@@ -503,11 +503,11 @@ acpi_status acpi_ex_prep_field_value(struct acpi_create_field_info *info)
*/ */
second_desc = obj_desc->common.next_object; second_desc = obj_desc->common.next_object;
second_desc->extra.aml_start = second_desc->extra.aml_start =
((union acpi_parse_object *)(info->data_register_node))-> ACPI_CAST_PTR(union acpi_parse_object,
named.data; info->data_register_node)->named.data;
second_desc->extra.aml_length = second_desc->extra.aml_length =
((union acpi_parse_object *)(info->data_register_node))-> ACPI_CAST_PTR(union acpi_parse_object,
named.length; info->data_register_node)->named.length;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment