RE: [PATCH] ACPICA: fix if condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got it,
Thanks.


-----Original Message-----
From: gushengxian <gushengxian507419@xxxxxxxxx> 
Sent: Saturday, July 03, 2021 2:12 AM
To: Moore, Robert <robert.moore@xxxxxxxxx>; erik.kaneda@xxxxxxxxx; Wysocki, Rafael J <rafael.j.wysocki@xxxxxxxxx>; lenb@xxxxxxxxxx
Cc: linux-acpi@xxxxxxxxxxxxxxx; devel@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; gushengxian <gushengxian@xxxxxxxxxx>
Subject: [PATCH] ACPICA: fix if condition

From: gushengxian <gushengxian@xxxxxxxxxx>

Fix if condition.

Signed-off-by: gushengxian <gushengxian@xxxxxxxxxx>
---
 drivers/acpi/acpica/dswexec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c index 41ba7773fd10..c4cd61469e1f 100644
--- a/drivers/acpi/acpica/dswexec.c
+++ b/drivers/acpi/acpica/dswexec.c
@@ -561,8 +561,7 @@ 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"));
 					}
--
2.25.1





[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux