diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-05-06 04:49:01 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-05-06 04:49:01 -0400 |
commit | 317e2cac4551879f14eb383fd4e5469f29231a0d (patch) | |
tree | 3d12ea38a84b455b4e52598abb14fd6e176096c5 /drivers/acpi/tables.c | |
parent | 2c2a2fb1e2a9256714338875bede6b7cbd4b9542 (diff) | |
parent | f456277ee15ff5d150191cb4a2f0181a8804c851 (diff) |
Merge branch 'acpica'
* acpica:
ACPICA: Update version to 20190405
ACPICA: Namespace: add check to avoid null pointer dereference
ACPICA: Update version to 20190329
ACPICA: utilities: fix spelling of PCC to platform_comm_channel
ACPICA: Rename nameseg length macro/define for clarity
ACPICA: Rename nameseg compare macro for clarity
ACPICA: Rename nameseg copy macro for clarity
Diffstat (limited to 'drivers/acpi/tables.c')
-rw-r--r-- | drivers/acpi/tables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/tables.c b/drivers/acpi/tables.c index 8fccbe49612a..1ffd7b9eefc5 100644 --- a/drivers/acpi/tables.c +++ b/drivers/acpi/tables.c | |||
@@ -670,8 +670,8 @@ static void __init acpi_table_initrd_scan(void) | |||
670 | table_length = table->length; | 670 | table_length = table->length; |
671 | 671 | ||
672 | /* Skip RSDT/XSDT which should only be used for override */ | 672 | /* Skip RSDT/XSDT which should only be used for override */ |
673 | if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_RSDT) || | 673 | if (ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_RSDT) || |
674 | ACPI_COMPARE_NAME(table->signature, ACPI_SIG_XSDT)) { | 674 | ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_XSDT)) { |
675 | acpi_os_unmap_memory(table, ACPI_HEADER_SIZE); | 675 | acpi_os_unmap_memory(table, ACPI_HEADER_SIZE); |
676 | goto next_table; | 676 | goto next_table; |
677 | } | 677 | } |