diff mbox series

[14/19] ACPICA: Change a return_ACPI_STATUS (AE_BAD_PARAMETER)

Message ID 2493230.Lt9SDvczpP@kreacher
State New
Headers show
Series ACPICA: ACPICA 20211217 | expand

Commit Message

Rafael J. Wysocki Dec. 22, 2021, 4:35 p.m. UTC
From: Bob Moore <robert.moore@intel.com>

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>
---
 drivers/acpi/acpica/tbdata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/acpi/acpica/tbdata.c b/drivers/acpi/acpica/tbdata.c
index 89f08de67e6d..20360a9db482 100644
--- a/drivers/acpi/acpica/tbdata.c
+++ b/drivers/acpi/acpica/tbdata.c
@@ -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;