Skip to content

Commit

Permalink
ACPICA: Change a return_ACPI_STATUS (AE_BAD_PARAMETER)
Browse files Browse the repository at this point in the history
ACPICA commit ff803279dde7a3e068a6a698d8c69503cd159ad7

To simply return (AE_BAD_PARAMETER); to fix compilation on MSVC.

Link: https://github.com/acpica/acpica/commit/ff803279
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Bob Moore authored and Rafael J. Wysocki committed Dec 27, 2021
1 parent 1d4e0b3 commit 9f52815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/acpica/tbdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ acpi_tb_acquire_temp_table(struct acpi_table_desc *table_desc,
case ACPI_TABLE_ORIGIN_EXTERNAL_VIRTUAL:

if (!table) {
return_ACPI_STATUS(AE_BAD_PARAMETER);
return (AE_BAD_PARAMETER);
}

break;
Expand Down

0 comments on commit 9f52815

Please sign in to comment.