]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/acpi/utilities/utobject.c
ACPICA: Eliminate acpi_native_uint type v2
[mirror_ubuntu-artful-kernel.git] / drivers / acpi / utilities / utobject.c
index e68466de80447c7068ffbd740ff9f265a22421fd..ede6a80837dfe5b7e38bb018364e6a7cbe9da77a 100644 (file)
@@ -175,8 +175,8 @@ union acpi_operand_object *acpi_ut_create_package_object(u32 count)
         * Create the element array. Count+1 allows the array to be null
         * terminated.
         */
-       package_elements = ACPI_ALLOCATE_ZEROED((acpi_size)
-                                               (count + 1) * sizeof(void *));
+       package_elements = ACPI_ALLOCATE_ZEROED(((acpi_size) count +
+                                                1) * sizeof(void *));
        if (!package_elements) {
                acpi_ut_remove_reference(package_desc);
                return_PTR(NULL);