diff options
Diffstat (limited to 'drivers/acpi/acpica/dsinit.c')
-rw-r--r-- | drivers/acpi/acpica/dsinit.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/dsinit.c b/drivers/acpi/acpica/dsinit.c index abe140318a74..cc4a38c57558 100644 --- a/drivers/acpi/acpica/dsinit.c +++ b/drivers/acpi/acpica/dsinit.c | |||
@@ -171,12 +171,12 @@ acpi_ds_initialize_objects(u32 table_index, | |||
171 | "**** Starting initialization of namespace objects ****\n")); | 171 | "**** Starting initialization of namespace objects ****\n")); |
172 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "Parsing all Control Methods:")); | 172 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "Parsing all Control Methods:")); |
173 | 173 | ||
174 | info.method_count = 0; | 174 | /* Set all init info to zero */ |
175 | info.op_region_count = 0; | 175 | |
176 | info.object_count = 0; | 176 | ACPI_MEMSET(&info, 0, sizeof(struct acpi_init_walk_info)); |
177 | info.device_count = 0; | 177 | |
178 | info.table_index = table_index; | ||
179 | info.owner_id = owner_id; | 178 | info.owner_id = owner_id; |
179 | info.table_index = table_index; | ||
180 | 180 | ||
181 | /* Walk entire namespace from the supplied root */ | 181 | /* Walk entire namespace from the supplied root */ |
182 | 182 | ||
@@ -204,13 +204,13 @@ acpi_ds_initialize_objects(u32 table_index, | |||
204 | } | 204 | } |
205 | 205 | ||
206 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, | 206 | ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, |
207 | "\nTable [%4.4s](id %4.4X) - %hd Objects with %hd Devices %hd Methods %hd Regions\n", | 207 | "\nTable [%4.4s](id %4.4X) - %u Objects with %u Devices %u Methods %u Regions\n", |
208 | table->signature, owner_id, info.object_count, | 208 | table->signature, owner_id, info.object_count, |
209 | info.device_count, info.method_count, | 209 | info.device_count, info.method_count, |
210 | info.op_region_count)); | 210 | info.op_region_count)); |
211 | 211 | ||
212 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, | 212 | ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, |
213 | "%hd Methods, %hd Regions\n", info.method_count, | 213 | "%u Methods, %u Regions\n", info.method_count, |
214 | info.op_region_count)); | 214 | info.op_region_count)); |
215 | 215 | ||
216 | return_ACPI_STATUS(AE_OK); | 216 | return_ACPI_STATUS(AE_OK); |