aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/exnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/exnames.c')
-rw-r--r--drivers/acpi/acpica/exnames.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/exnames.c b/drivers/acpi/acpica/exnames.c
index 679f308c5a89..d11e539ef763 100644
--- a/drivers/acpi/acpica/exnames.c
+++ b/drivers/acpi/acpica/exnames.c
@@ -102,7 +102,7 @@ static char *acpi_ex_allocate_name_string(u32 prefix_count, u32 num_name_segs)
102 name_string = ACPI_ALLOCATE(size_needed); 102 name_string = ACPI_ALLOCATE(size_needed);
103 if (!name_string) { 103 if (!name_string) {
104 ACPI_ERROR((AE_INFO, 104 ACPI_ERROR((AE_INFO,
105 "Could not allocate size %d", size_needed)); 105 "Could not allocate size %u", size_needed));
106 return_PTR(NULL); 106 return_PTR(NULL);
107 } 107 }
108 108
@@ -216,7 +216,7 @@ static acpi_status acpi_ex_name_segment(u8 ** in_aml_address, char *name_string)
216 */ 216 */
217 status = AE_AML_BAD_NAME; 217 status = AE_AML_BAD_NAME;
218 ACPI_ERROR((AE_INFO, 218 ACPI_ERROR((AE_INFO,
219 "Bad character %02x in name, at %p", 219 "Bad character 0x%02x in name, at %p",
220 *aml_address, aml_address)); 220 *aml_address, aml_address));
221 } 221 }
222 222