mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ACPICA: fix if condition
@ 2021-07-03  9:12 gushengxian
  2021-07-03  9:38 ` Joe Perches
  2021-07-09 14:38 ` Moore, Robert
  0 siblings, 2 replies; 3+ messages in thread
From: gushengxian @ 2021-07-03  9:12 UTC (permalink / raw)
  To: robert.moore, erik.kaneda, rafael.j.wysocki, lenb
  Cc: linux-acpi, devel, linux-kernel, gushengxian

From: gushengxian <gushengxian@yulong.com>

Fix if condition.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-09 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-03  9:12 [PATCH] ACPICA: fix if condition gushengxian
2021-07-03  9:38 ` Joe Perches
2021-07-09 14:38 ` Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®