diff options
author | Maximilian Luz <luzmaximilian@gmail.com> | 2021-01-15 19:48:19 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-01-18 16:01:10 +0100 |
commit | 25d866c46c1d58083fa783703484f8473d61db54 (patch) | |
tree | da454da193f7df2fa84e9b0a851a82cb2967e2ad /drivers/acpi/acpica/dsdebug.c | |
parent | ACPICA: Fix exception code class checks (diff) | |
download | linux-25d866c46c1d58083fa783703484f8473d61db54.tar.xz linux-25d866c46c1d58083fa783703484f8473d61db54.zip |
ACPICA: Clean up exception code class checks
ACPICA commit 5a8390fbd4c5c60da0b6d4ba53b5ee34fda9a0cb
With the exception code class check macros fixed in the previous
commit, let us now use those to simplify exception class checks
across ACPICA.
Link: https://github.com/acpica/acpica/commit/5a8390fb
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dsdebug.c')
-rw-r--r-- | drivers/acpi/acpica/dsdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/dsdebug.c b/drivers/acpi/acpica/dsdebug.c index 63bc5f19fb82..2c22e3eff535 100644 --- a/drivers/acpi/acpica/dsdebug.c +++ b/drivers/acpi/acpica/dsdebug.c @@ -100,7 +100,7 @@ acpi_ds_dump_method_stack(acpi_status status, /* Ignore control codes, they are not errors */ - if ((status & AE_CODE_MASK) == AE_CODE_CONTROL) { + if (ACPI_CNTL_EXCEPTION(status)) { return_VOID; } |