* Ensure a 32-bit boundary for the structure
*/
extra_struct_bytes =
- ACPI_ROUND_UP_to_32_bITS(resource_length);
+ ACPI_ROUND_UP_to_32_bITS(resource_length) -
+ resource_length;
break;
case ACPI_RESOURCE_NAME_END_TAG:
* Add vendor data and ensure a 32-bit boundary for the structure
*/
extra_struct_bytes =
- ACPI_ROUND_UP_to_32_bITS(resource_length);
+ ACPI_ROUND_UP_to_32_bITS(resource_length) -
+ resource_length;
break;
case ACPI_RESOURCE_NAME_ADDRESS32: