Skip to content

Commit 5ecce80

Browse files
acpibobrafaeljw
authored andcommitted
ACPICA: Fix an if statement (add parens)
ACPICA commit 4dbe4b9a0c203b04918705f022e0db997aa55696 Link: acpica/acpica@4dbe4b9a Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent e692fa1 commit 5ecce80

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/acpi/acpica/dswexec.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,11 +561,10 @@ acpi_status acpi_ds_exec_end_op(struct acpi_walk_state *walk_state)
561561
op->common.
562562
node->object,
563563
NULL);
564-
if ACPI_FAILURE
565-
(status) {
564+
if (ACPI_FAILURE(status)) {
566565
ACPI_EXCEPTION((AE_INFO, status,
567566
"While writing to buffer field"));
568-
}
567+
}
569568
}
570569
ACPI_FREE(namepath);
571570
status = AE_OK;

0 commit comments

Comments
 (0)