LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Linux ACPI <linux-acpi@vger.kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Bob Moore <robert.moore@intel.com>
Subject: [PATCH 2/7] ACPICA: Fix an if statement (add parens)
Date: Tue, 03 Aug 2021 20:08:45 +0200	[thread overview]
Message-ID: <4654328.GXAFRqVoOG@kreacher> (raw)
In-Reply-To: <5748555.lOV4Wx5bFT@kreacher>

From: Bob Moore <robert.moore@intel.com>

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 | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/acpi/acpica/dswexec.c b/drivers/acpi/acpica/dswexec.c
index 41ba7773fd10..f2d2267054af 100644
--- a/drivers/acpi/acpica/dswexec.c
+++ b/drivers/acpi/acpica/dswexec.c
@@ -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;
-- 
2.26.2





  parent reply	other threads:[~2021-08-03 18:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 18:06 [PATCH 0/7] ACPICA: ACPICA 20210730 Rafael J. Wysocki
2021-08-03 18:07 ` [PATCH 1/7] ACPICA: iASL: Add support for the AEST table (data compiler) Rafael J. Wysocki
2021-08-03 18:08 ` Rafael J. Wysocki [this message]
2021-08-03 18:09 ` [PATCH 3/7] ACPICA: Macros should not use a trailing semicolon Rafael J. Wysocki
2021-08-03 18:10 ` [PATCH 4/7] ACPICA: Headers: Add new DBG2 Serial Port Subtypes Rafael J. Wysocki
2021-08-03 18:10 ` [PATCH 5/7] ACPICA: iASL: Fix for WPBT table with no command-line arguments Rafael J. Wysocki
2021-08-03 18:11 ` [PATCH 6/7] ACPICA: Add method name "_DIS" For use with aslmethod.c Rafael J. Wysocki
2021-08-03 18:11 ` [PATCH 7/7] ACPICA: Update version to 20210730 Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4654328.GXAFRqVoOG@kreacher \
    --to=rjw@rjwysocki.net \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.moore@intel.com \
    --subject='Re: [PATCH 2/7] ACPICA: Fix an if statement (add parens)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).