Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2667409pxy; Tue, 3 Aug 2021 11:55:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzktXWDcqSp0ah4YjMUD0NVGXiKjQw7O8uSgcRugkt1NmL/u+b5KLLrN4lJ3qLNo4w7T0Pa X-Received: by 2002:a02:958e:: with SMTP id b14mr20556972jai.123.1628016945211; Tue, 03 Aug 2021 11:55:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628016945; cv=none; d=google.com; s=arc-20160816; b=GAvrRRJjPWaiptgnCBTpvfR17JA4fw6ffyj1ZqW0nda8tV5apV5x+PcqGSVDywKsxy 2RxQU4juqlxTcZcSsKeglZPpNZ6gqj5ejE7LvKli4RPLTnw8YLDDZcAasHshwSMjql1T u5BwYdpfq7jH2qqeYg8eW3jGynbADGhdF2iRhL2+KNkTxY5db96mQxscy9jMRZ2kX8+k WUB93Ii/K4XPBZaIUm6lXeyDKMYKZNnMFSSOrvmqzVZWeSvGo2r8AB4rwuZaHFuiXh7u NERVphNsSBUYnlz1mhKS6k+1bGzfjmm2bpmHDCqI0ojWlibBeo2BxAQNfSiZk2asgwes n8fQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=XauI8BPBIsnn88jyaMoYqSRqF+pm4JAj0yKMaLfFGH0=; b=C4bbbaV5FXz1rQROaG8wBFqzxEjPJr3PBCRqUGLTz0ApJbaKuRCjDlo5zKugvs3ZHg jCvU4vubx2JV0ex43qIcuixqWcN3gdQipE+/9hHEHetOE0sUKtKk6tBztGEUTV5hsK6J XKVCzAy1ziFCAxFHfIdiEFqT/LFLDB6+LMSAeAPX7G9dDHuU3rLtxsX6xi6rhv0+ivo4 iQkhLZSh0MXEcu5GgG2IY2nkXxbHhkp+VBpPn5k3wNAA4I/SxfBpjlPh1pBtjXdyLjgH qui/Lj9gr5cD23bLzrYXwqF+s/s+LeeYGmpXl7xFoqdyKg4Pupc7yjoWFHwyeEq5/mJM M6dA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t13si15791234ilg.9.2021.08.03.11.55.33; Tue, 03 Aug 2021 11:55:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238839AbhHCSMr (ORCPT + 99 others); Tue, 3 Aug 2021 14:12:47 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:51498 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238775AbhHCSMi (ORCPT ); Tue, 3 Aug 2021 14:12:38 -0400 Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 3.0.0) id 81848ed8b7b36df9; Tue, 3 Aug 2021 20:12:26 +0200 Received: from kreacher.localnet (89-64-81-181.dynamic.chello.pl [89.64.81.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by v370.home.net.pl (Postfix) with ESMTPSA id 948A766A01E; Tue, 3 Aug 2021 20:12:25 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Bob Moore Subject: [PATCH 2/7] ACPICA: Fix an if statement (add parens) Date: Tue, 03 Aug 2021 20:08:45 +0200 Message-ID: <4654328.GXAFRqVoOG@kreacher> In-Reply-To: <5748555.lOV4Wx5bFT@kreacher> References: <5748555.lOV4Wx5bFT@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 89.64.81.181 X-CLIENT-HOSTNAME: 89-64-81-181.dynamic.chello.pl X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvtddrieeggdduudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpefgkedtheeuheetffeuleelhefhfffgjedthedvtdefteejffevteehhedvjefgudenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeekledrieegrdekuddrudekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekledrieegrdekuddrudekuddphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgsvghrthdrmhhoohhrvgesihhnthgvlhdrtghomh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bob Moore ACPICA commit 4dbe4b9a0c203b04918705f022e0db997aa55696 Link: https://github.com/acpica/acpica/commit/4dbe4b9a Signed-off-by: Bob Moore Signed-off-by: Rafael J. Wysocki --- 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