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

Commit bf900afb authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

Merge branch 'acpi-cleanup' into fixes

* acpi-cleanup:
  ACPI / APEI: Fix crash in apei_hest_parse() for acpi=off
parents d3caf894 a84363d6
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ int apei_hest_parse(apei_hest_func_t func, void *data)
	struct acpi_hest_header *hest_hdr;
	int i, rc, len;

	if (hest_disable)
	if (hest_disable || !hest_tab)
		return -EINVAL;

	hest_hdr = (struct acpi_hest_header *)(hest_tab + 1);
@@ -216,9 +216,6 @@ void __init acpi_hest_init(void)
		return;
	}

	if (acpi_disabled)
		goto err;

	status = acpi_get_table(ACPI_SIG_HEST, 0,
				(struct acpi_table_header **)&hest_tab);
	if (status == AE_NOT_FOUND)