diff options
Diffstat (limited to 'drivers/acpi/dispatcher/dsfield.c')
-rw-r--r-- | drivers/acpi/dispatcher/dsfield.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/acpi/dispatcher/dsfield.c b/drivers/acpi/dispatcher/dsfield.c index 2022aeaecfbb..f3a008ff1eae 100644 --- a/drivers/acpi/dispatcher/dsfield.c +++ b/drivers/acpi/dispatcher/dsfield.c | |||
@@ -5,7 +5,7 @@ | |||
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
7 | /* | 7 | /* |
8 | * Copyright (C) 2000 - 2005, R. Byron Moore | 8 | * Copyright (C) 2000 - 2006, R. Byron Moore |
9 | * All rights reserved. | 9 | * All rights reserved. |
10 | * | 10 | * |
11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
@@ -293,7 +293,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info, | |||
293 | + (acpi_integer) arg->common.value.size; | 293 | + (acpi_integer) arg->common.value.size; |
294 | 294 | ||
295 | if (position > ACPI_UINT32_MAX) { | 295 | if (position > ACPI_UINT32_MAX) { |
296 | ACPI_REPORT_ERROR(("Field [%4.4s] bit offset too large (> 0xFFFFFFFF)\n", (char *)&info->field_node->name)); | 296 | ACPI_REPORT_ERROR(("Field [%4.4s] bit offset too large (> 0xFFFFFFFF)\n", ACPI_CAST_PTR(char, &info->field_node->name))); |
297 | return_ACPI_STATUS(AE_SUPPORT); | 297 | return_ACPI_STATUS(AE_SUPPORT); |
298 | } | 298 | } |
299 | 299 | ||
@@ -302,9 +302,8 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info, | |||
302 | 302 | ||
303 | default: | 303 | default: |
304 | 304 | ||
305 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, | 305 | ACPI_REPORT_ERROR(("Invalid opcode in field list: %X\n", |
306 | "Invalid opcode in field list: %X\n", | 306 | arg->common.aml_opcode)); |
307 | arg->common.aml_opcode)); | ||
308 | return_ACPI_STATUS(AE_AML_BAD_OPCODE); | 307 | return_ACPI_STATUS(AE_AML_BAD_OPCODE); |
309 | } | 308 | } |
310 | 309 | ||