diff options
Diffstat (limited to 'drivers/acpi/acpica/rscreate.c')
-rw-r--r-- | drivers/acpi/acpica/rscreate.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/rscreate.c b/drivers/acpi/acpica/rscreate.c index f2ee3b54860..c80a2eea3a0 100644 --- a/drivers/acpi/acpica/rscreate.c +++ b/drivers/acpi/acpica/rscreate.c | |||
@@ -212,7 +212,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
212 | 212 | ||
213 | if ((*top_object_list)->common.type != ACPI_TYPE_PACKAGE) { | 213 | if ((*top_object_list)->common.type != ACPI_TYPE_PACKAGE) { |
214 | ACPI_ERROR((AE_INFO, | 214 | ACPI_ERROR((AE_INFO, |
215 | "(PRT[%X]) Need sub-package, found %s", | 215 | "(PRT[%u]) Need sub-package, found %s", |
216 | index, | 216 | index, |
217 | acpi_ut_get_object_type_name | 217 | acpi_ut_get_object_type_name |
218 | (*top_object_list))); | 218 | (*top_object_list))); |
@@ -223,7 +223,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
223 | 223 | ||
224 | if ((*top_object_list)->package.count != 4) { | 224 | if ((*top_object_list)->package.count != 4) { |
225 | ACPI_ERROR((AE_INFO, | 225 | ACPI_ERROR((AE_INFO, |
226 | "(PRT[%X]) Need package of length 4, found length %d", | 226 | "(PRT[%u]) Need package of length 4, found length %u", |
227 | index, (*top_object_list)->package.count)); | 227 | index, (*top_object_list)->package.count)); |
228 | return_ACPI_STATUS(AE_AML_PACKAGE_LIMIT); | 228 | return_ACPI_STATUS(AE_AML_PACKAGE_LIMIT); |
229 | } | 229 | } |
@@ -240,7 +240,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
240 | obj_desc = sub_object_list[0]; | 240 | obj_desc = sub_object_list[0]; |
241 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { | 241 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { |
242 | ACPI_ERROR((AE_INFO, | 242 | ACPI_ERROR((AE_INFO, |
243 | "(PRT[%X].Address) Need Integer, found %s", | 243 | "(PRT[%u].Address) Need Integer, found %s", |
244 | index, | 244 | index, |
245 | acpi_ut_get_object_type_name(obj_desc))); | 245 | acpi_ut_get_object_type_name(obj_desc))); |
246 | return_ACPI_STATUS(AE_BAD_DATA); | 246 | return_ACPI_STATUS(AE_BAD_DATA); |
@@ -253,7 +253,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
253 | obj_desc = sub_object_list[1]; | 253 | obj_desc = sub_object_list[1]; |
254 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { | 254 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { |
255 | ACPI_ERROR((AE_INFO, | 255 | ACPI_ERROR((AE_INFO, |
256 | "(PRT[%X].Pin) Need Integer, found %s", | 256 | "(PRT[%u].Pin) Need Integer, found %s", |
257 | index, | 257 | index, |
258 | acpi_ut_get_object_type_name(obj_desc))); | 258 | acpi_ut_get_object_type_name(obj_desc))); |
259 | return_ACPI_STATUS(AE_BAD_DATA); | 259 | return_ACPI_STATUS(AE_BAD_DATA); |
@@ -289,7 +289,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
289 | if (obj_desc->reference.class != | 289 | if (obj_desc->reference.class != |
290 | ACPI_REFCLASS_NAME) { | 290 | ACPI_REFCLASS_NAME) { |
291 | ACPI_ERROR((AE_INFO, | 291 | ACPI_ERROR((AE_INFO, |
292 | "(PRT[%X].Source) Need name, found Reference Class %X", | 292 | "(PRT[%u].Source) Need name, found Reference Class 0x%X", |
293 | index, | 293 | index, |
294 | obj_desc->reference.class)); | 294 | obj_desc->reference.class)); |
295 | return_ACPI_STATUS(AE_BAD_DATA); | 295 | return_ACPI_STATUS(AE_BAD_DATA); |
@@ -340,7 +340,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
340 | default: | 340 | default: |
341 | 341 | ||
342 | ACPI_ERROR((AE_INFO, | 342 | ACPI_ERROR((AE_INFO, |
343 | "(PRT[%X].Source) Need Ref/String/Integer, found %s", | 343 | "(PRT[%u].Source) Need Ref/String/Integer, found %s", |
344 | index, | 344 | index, |
345 | acpi_ut_get_object_type_name | 345 | acpi_ut_get_object_type_name |
346 | (obj_desc))); | 346 | (obj_desc))); |
@@ -358,7 +358,7 @@ acpi_rs_create_pci_routing_table(union acpi_operand_object *package_object, | |||
358 | obj_desc = sub_object_list[3]; | 358 | obj_desc = sub_object_list[3]; |
359 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { | 359 | if (obj_desc->common.type != ACPI_TYPE_INTEGER) { |
360 | ACPI_ERROR((AE_INFO, | 360 | ACPI_ERROR((AE_INFO, |
361 | "(PRT[%X].SourceIndex) Need Integer, found %s", | 361 | "(PRT[%u].SourceIndex) Need Integer, found %s", |
362 | index, | 362 | index, |
363 | acpi_ut_get_object_type_name(obj_desc))); | 363 | acpi_ut_get_object_type_name(obj_desc))); |
364 | return_ACPI_STATUS(AE_BAD_DATA); | 364 | return_ACPI_STATUS(AE_BAD_DATA); |