Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2211245pxv; Sat, 3 Jul 2021 02:17:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy21Zlxt9jDILkeuAnJ+OFwURHLEuQYU0Hd16GaT3d5X9aNNq9roS7deiMQk5iJhiv2+Cxa X-Received: by 2002:a17:906:8383:: with SMTP id p3mr3996126ejx.225.1625303877857; Sat, 03 Jul 2021 02:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625303877; cv=none; d=google.com; s=arc-20160816; b=BMt2lfFhsaG6syJjL9tFZwHvkkfDhn6W4H+klKSy8O75U7G8vE55Yrm16+Y2ZI17aU yeahcHfwC3z9lEO8qS/WJ8cPXD6l40KAY/2hWfq7f2XPlSuPSOd2LMcULegbhxUa1TYI nVs21MFU6kjnzyA8s2CnjJuqeREkIF+EhphKy7/IX0c084SsUZx/T6r6wdZzEc6qHOWz NFKpDvyqfpsb+M1IlMimp0YHKQvzRakZvqYBWIrleprmyy2ulZdKpxbbOEAnetdgazbi MuB9yPc4ITt8jvtm5my208zdYvc7IhWB9t3gSMJ8PhTvbu0A4hLj1LsmocANpncw5WGk Xg6w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=iVpr38UkV/+6m09Jsw19H3EtCbYsANjk4IEfqrWyxtc=; b=XEglA+Jv4c+vSkwXV5nm5GFgik0Sr6zTEV1sUlOGKkSnK2NLJYnEUMenOOqz6kc8sW EfaEIH1znVcWscjEzAwrGDowy4T6PB2t4voZOfY8rosb28KVTprn+l24Kbh3YJk10tXM XOwX5G+lYufSwtY23uoNuj4Dr0nn4kV87FcW8EAwTFPWISRhGEJocNQnFT9e/GRhlhcW bURdQCdgpQMARtpDYn3mCXY7xgEGvEEU+BtwUBa1Ob3LSGv0z7xAYQJqXrEuDwJnTfSF GuRmuVydVYay551X9MoEllUhmWp8Jk0N3ULvmdnsDGgkjlOZhPLev+UYCGPoBcAt+1Y0 O+pA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QlcQB1Z7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 29si5603732ejh.414.2021.07.03.02.17.24; Sat, 03 Jul 2021 02:17:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QlcQB1Z7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229993AbhGCJO7 (ORCPT + 99 others); Sat, 3 Jul 2021 05:14:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbhGCJO6 (ORCPT ); Sat, 3 Jul 2021 05:14:58 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13E98C061762; Sat, 3 Jul 2021 02:12:24 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id d12so12412401pgd.9; Sat, 03 Jul 2021 02:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iVpr38UkV/+6m09Jsw19H3EtCbYsANjk4IEfqrWyxtc=; b=QlcQB1Z7D/2jZSlxaKX2/0pCzJ7YN5jQh4OpUiDJmhEdmhZ2CndDZ4wgFuyV/1Hb0B XWwx8kBEmeeg3n4GzhoNb2wPlYVXwsz4jvpKHLjtqbp4ekhFasugpnDDmhej6SmtvjTb n73LDPV4QoivEAJCUtsnaOydW2R6+feya9F7iB3iG6yt25khdSuUe8x2iSWP+7ENrQ/e 0x3fBUVl/TbAUZoVfeEoYKWQ/tg5VP8pdf0+OC3v+9xOTVzQAfhYdLQPYGUlgRBtHx2K X6AIaAzvacIEDHcJc46yyR581rm8iR+q8uvM+mvXi5PEG7JYzz3Elo4D0Gqnjj6iWEAS qTAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iVpr38UkV/+6m09Jsw19H3EtCbYsANjk4IEfqrWyxtc=; b=itz3V0zJdiyeqjBBSKmDsM6mcBzc90oq/93d0jgSjyVmX5HJ4ukAonArI05GeY782C buVlmxj++PCc4PFwqUr/gGN7WGMYw3K9wvFFV45NprN/msTwCATMwLdaxlhnlab5cqEc UgcLm8wd+CGzPel3kbQWAVh7BQmpSGZ7IlM7DsUZWG/II+WVwBtg5O1k6ZQfk4kr2jMX yocT2SflgaXQdToRCdafnaus7vIipZfu6ofcCZ6PMtCj7z3hfFjMjOeiAWeDcjwzHaxR g2sT3x2YrwQF1m/4z3pobc4uGQk43YlIO9u9v/LF9cGv8KXYcRqexHsWs9PRyNUwAfgQ QKmA== X-Gm-Message-State: AOAM533PeqoETMc7tDH1WCzaINFzMzD2OTg7Twu6r/mWS6Yc1g2QGJTc zQ7hxLyIlR7LnGBRl+oVwoM= X-Received: by 2002:a62:e50c:0:b029:2f9:b9b1:d44f with SMTP id n12-20020a62e50c0000b02902f9b9b1d44fmr3964640pff.42.1625303543634; Sat, 03 Jul 2021 02:12:23 -0700 (PDT) Received: from ubuntu.localdomain ([103.220.76.197]) by smtp.gmail.com with ESMTPSA id a5sm1479975pff.143.2021.07.03.02.12.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 02:12:23 -0700 (PDT) From: gushengxian To: robert.moore@intel.com, erik.kaneda@intel.com, rafael.j.wysocki@intel.com, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, devel@acpica.org, linux-kernel@vger.kernel.org, gushengxian Subject: [PATCH] ACPICA: fix if condition Date: Sat, 3 Jul 2021 02:12:18 -0700 Message-Id: <20210703091218.650202-1-gushengxian507419@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: gushengxian Fix if condition. Signed-off-by: gushengxian --- 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