ACPICA: Fix an if statement (add parens)
authorBob Moore <robert.moore@intel.com>
Tue, 3 Aug 2021 18:08:45 +0000 (20:08 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Aug 2021 14:47:01 +0000 (16:47 +0200)
ACPICA commit 4dbe4b9a0c203b04918705f022e0db997aa55696

Link: https://github.com/acpica/acpica/commit/4dbe4b9a
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/dswexec.c

index 41ba777..f2d2267 100644 (file)
@@ -561,11 +561,10 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
                                                                op->common.
                                                                node->object,
                                                                NULL);
-                               if ACPI_FAILURE
-                                       (status) {
+                               if (ACPI_FAILURE(status)) {
                                        ACPI_EXCEPTION((AE_INFO, status,
                                                        "While writing to buffer field"));
-                                       }
+                               }
                        }
                        ACPI_FREE(namepath);
                        status = AE_OK;