Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 46358614 authored by Len Brown's avatar Len Brown Committed by Len Brown
Browse files

Revert "[PATCH] ACPI: fix vendor resource length computation"

fixed in a different way by a subsequent ACPICA patch

This reverts 35b73ceb commit.
parent a0f06780
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -391,7 +391,8 @@ acpi_rs_get_list_length(u8 * aml_buffer,
			 * 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:
@@ -407,7 +408,8 @@ acpi_rs_get_list_length(u8 * aml_buffer,
			 * 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: