aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exfldio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/exfldio.c')
-rw-r--r--drivers/acpi/acpica/exfldio.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index f68a216168be..a6dc26f0b3be 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -94,7 +94,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
94 /* We must have a valid region */ 94 /* We must have a valid region */
95 95
96 if (rgn_desc->common.type != ACPI_TYPE_REGION) { 96 if (rgn_desc->common.type != ACPI_TYPE_REGION) {
97 ACPI_ERROR((AE_INFO, "Needed Region, found type %X (%s)", 97 ACPI_ERROR((AE_INFO, "Needed Region, found type 0x%X (%s)",
98 rgn_desc->common.type, 98 rgn_desc->common.type,
99 acpi_ut_get_object_type_name(rgn_desc))); 99 acpi_ut_get_object_type_name(rgn_desc)));
100 100
@@ -175,7 +175,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
175 * byte, and a field with Dword access specified. 175 * byte, and a field with Dword access specified.
176 */ 176 */
177 ACPI_ERROR((AE_INFO, 177 ACPI_ERROR((AE_INFO,
178 "Field [%4.4s] access width (%d bytes) too large for region [%4.4s] (length %X)", 178 "Field [%4.4s] access width (%u bytes) too large for region [%4.4s] (length %u)",
179 acpi_ut_get_node_name(obj_desc-> 179 acpi_ut_get_node_name(obj_desc->
180 common_field.node), 180 common_field.node),
181 obj_desc->common_field.access_byte_width, 181 obj_desc->common_field.access_byte_width,
@@ -189,7 +189,7 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
189 * exceeds region length, indicate an error 189 * exceeds region length, indicate an error
190 */ 190 */
191 ACPI_ERROR((AE_INFO, 191 ACPI_ERROR((AE_INFO,
192 "Field [%4.4s] Base+Offset+Width %X+%X+%X is beyond end of region [%4.4s] (length %X)", 192 "Field [%4.4s] Base+Offset+Width %u+%u+%u is beyond end of region [%4.4s] (length %u)",
193 acpi_ut_get_node_name(obj_desc->common_field.node), 193 acpi_ut_get_node_name(obj_desc->common_field.node),
194 obj_desc->common_field.base_byte_offset, 194 obj_desc->common_field.base_byte_offset,
195 field_datum_byte_offset, 195 field_datum_byte_offset,
@@ -281,13 +281,13 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc,
281 if (ACPI_FAILURE(status)) { 281 if (ACPI_FAILURE(status)) {
282 if (status == AE_NOT_IMPLEMENTED) { 282 if (status == AE_NOT_IMPLEMENTED) {
283 ACPI_ERROR((AE_INFO, 283 ACPI_ERROR((AE_INFO,
284 "Region %s(%X) not implemented", 284 "Region %s(0x%X) not implemented",
285 acpi_ut_get_region_name(rgn_desc->region. 285 acpi_ut_get_region_name(rgn_desc->region.
286 space_id), 286 space_id),
287 rgn_desc->region.space_id)); 287 rgn_desc->region.space_id));
288 } else if (status == AE_NOT_EXIST) { 288 } else if (status == AE_NOT_EXIST) {
289 ACPI_ERROR((AE_INFO, 289 ACPI_ERROR((AE_INFO,
290 "Region %s(%X) has no handler", 290 "Region %s(0x%X) has no handler",
291 acpi_ut_get_region_name(rgn_desc->region. 291 acpi_ut_get_region_name(rgn_desc->region.
292 space_id), 292 space_id),
293 rgn_desc->region.space_id)); 293 rgn_desc->region.space_id));
@@ -525,7 +525,7 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc,
525 525
526 default: 526 default:
527 527
528 ACPI_ERROR((AE_INFO, "Wrong object type in field I/O %X", 528 ACPI_ERROR((AE_INFO, "Wrong object type in field I/O %u",
529 obj_desc->common.type)); 529 obj_desc->common.type));
530 status = AE_AML_INTERNAL; 530 status = AE_AML_INTERNAL;
531 break; 531 break;
@@ -630,7 +630,7 @@ acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc,
630 default: 630 default:
631 631
632 ACPI_ERROR((AE_INFO, 632 ACPI_ERROR((AE_INFO,
633 "Unknown UpdateRule value: %X", 633 "Unknown UpdateRule value: 0x%X",
634 (obj_desc->common_field. 634 (obj_desc->common_field.
635 field_flags & 635 field_flags &
636 AML_FIELD_UPDATE_RULE_MASK))); 636 AML_FIELD_UPDATE_RULE_MASK)));
@@ -689,7 +689,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
689 if (buffer_length < 689 if (buffer_length <
690 ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length)) { 690 ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->common_field.bit_length)) {
691 ACPI_ERROR((AE_INFO, 691 ACPI_ERROR((AE_INFO,
692 "Field size %X (bits) is too large for buffer (%X)", 692 "Field size %u (bits) is too large for buffer (%u)",
693 obj_desc->common_field.bit_length, buffer_length)); 693 obj_desc->common_field.bit_length, buffer_length));
694 694
695 return_ACPI_STATUS(AE_BUFFER_OVERFLOW); 695 return_ACPI_STATUS(AE_BUFFER_OVERFLOW);