lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 9 Jul 2021 14:38:27 +0000
From:   "Moore, Robert" <robert.moore@...el.com>
To:     gushengxian <gushengxian507419@...il.com>,
        "erik.kaneda@...el.com" <erik.kaneda@...el.com>,
        "Wysocki, Rafael J" <rafael.j.wysocki@...el.com>,
        "lenb@...nel.org" <lenb@...nel.org>
CC:     "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
        "devel@...ica.org" <devel@...ica.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        gushengxian <gushengxian@...ong.com>
Subject: RE: [PATCH] ACPICA: fix if condition

Got it,
Thanks.


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

From: gushengxian <gushengxian@...ong.com>

Fix if condition.

Signed-off-by: gushengxian <gushengxian@...ong.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ