summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2021-12-22 19:35:12 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-12-27 19:01:28 +0300
commit9f52815422a4b81dc9093fae338a9c41a9ff6657 (patch)
treeda2fd646d1ed6b033913791b1105397a624d5dab /drivers/acpi/acpica
parent1d4e0b3abb168b2ee1eca99c527cffa1b80b6161 (diff)
downloadlinux-9f52815422a4b81dc9093fae338a9c41a9ff6657.tar.xz
ACPICA: Change a return_ACPI_STATUS (AE_BAD_PARAMETER)
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>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/tbdata.c2
1 files changed, 1 insertions, 1 deletions
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;