diff options
Diffstat (limited to 'drivers/acpi/resources/rscalc.c')
-rw-r--r-- | drivers/acpi/resources/rscalc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/resources/rscalc.c b/drivers/acpi/resources/rscalc.c index a573ad5d41db..cf87b0230026 100644 --- a/drivers/acpi/resources/rscalc.c +++ b/drivers/acpi/resources/rscalc.c | |||
@@ -451,7 +451,7 @@ acpi_rs_get_list_length(u8 * aml_buffer, | |||
451 | */ | 451 | */ |
452 | buffer_size = acpi_gbl_resource_struct_sizes[resource_index] + | 452 | buffer_size = acpi_gbl_resource_struct_sizes[resource_index] + |
453 | extra_struct_bytes; | 453 | extra_struct_bytes; |
454 | buffer_size = ACPI_ROUND_UP_TO_NATIVE_WORD(buffer_size); | 454 | buffer_size = (u32) ACPI_ROUND_UP_TO_NATIVE_WORD(buffer_size); |
455 | 455 | ||
456 | *size_needed += buffer_size; | 456 | *size_needed += buffer_size; |
457 | 457 | ||
@@ -579,7 +579,7 @@ acpi_rs_get_pci_routing_table_length(union acpi_operand_object *package_object, | |||
579 | 579 | ||
580 | /* Round up the size since each element must be aligned */ | 580 | /* Round up the size since each element must be aligned */ |
581 | 581 | ||
582 | temp_size_needed = ACPI_ROUND_UP_to_64_bIT(temp_size_needed); | 582 | temp_size_needed = ACPI_ROUND_UP_TO_64BIT(temp_size_needed); |
583 | 583 | ||
584 | /* Point to the next union acpi_operand_object */ | 584 | /* Point to the next union acpi_operand_object */ |
585 | 585 | ||