Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1108452rwi; Thu, 27 Oct 2022 11:15:05 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5F07j2SMEV8LMm4Quk6sdTYX+mJqS/bavRbubLEAEjNEhLQaTE3Asc9GtiYl3PKimzvPD7 X-Received: by 2002:a63:4d0b:0:b0:46e:ce48:f008 with SMTP id a11-20020a634d0b000000b0046ece48f008mr25989027pgb.123.1666894505484; Thu, 27 Oct 2022 11:15:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666894505; cv=none; d=google.com; s=arc-20160816; b=XCd3f9fzrzndcWL0tIOrz9/0UiNAGOJIQgJeS9S0cRPVCZWHvaFm6xPJBmABj/rmcS ZPDYS9lzO2n4vzKQBdvrDWS8JQ/e1oFqSj4dNVUW8is2WonYokEyFNG/BcJi4dWdT1Rf DSwlq9TLr1PkJUQZfPlsVescGALYkWITClbbM4xwoEaHvX89rtCo0NuaY8aeHCJglvOk JgDoQQuh5VTaSmPEUhlBD+rc+JQDbaTn1jZOSbqFohr4/aV080EM2MduQ7W0NbiwZcxZ l1AARl90Ce9ETFjLHgI770PRw2xNFHTUJU+Zrn+mu3vP7DxFqeHYWE327/ZD4g2hcoQA vT7A== 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; bh=GwRrYMV5dePgGYLYQn6mKrK5ORr4BU9XXrdFTi473Q4=; b=qxiXoJWt2aFdfH5xWv9wOImRB+x9bXBcNgXKZAsEKKp2K1Wy6PfyuKSu7BUQ9Bo/EO TTGtpSfl2rQchonranAfR9HWd5KkBZMZmxU3uup56VdXnslX1PNztofRlfebDzQffdxu lXqzJ3K5YtOIZdhzvsEMsX6K2YtkB5swe5nns/SMwUb6vSSjBm7SfI1hkLuOFCxTlmCF EENfug/PtA1prBneN+AClJI1/icK84q3szRT3j+ouFfKHyaDyGtvTwxSUg4iMXMuECNz gb85vr2XsHzHdehoGPTo4x/7Rqb2+V95P2+nP3N6mnyGUCs1DaKlvijyyvEpEO5IbwaE AaRg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a17090a694700b00213213d63bbsi2418019pjm.41.2022.10.27.11.14.52; Thu, 27 Oct 2022 11:15:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236284AbiJ0SDG (ORCPT + 99 others); Thu, 27 Oct 2022 14:03:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236409AbiJ0SCm (ORCPT ); Thu, 27 Oct 2022 14:02:42 -0400 Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01EA3F1F; Thu, 27 Oct 2022 11:02:15 -0700 (PDT) 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 5.0.0) id 4f39f533eb87d10b; Thu, 27 Oct 2022 20:02:13 +0200 Received: from kreacher.localnet (unknown [213.134.169.45]) (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 48A0066D838; Thu, 27 Oct 2022 20:02:13 +0200 (CEST) From: "Rafael J. Wysocki" To: Linux ACPI Cc: Bob Moore , LKML Subject: [PATCH] ACPICA: Make acpi_ex_load_op() match upstream Date: Thu, 27 Oct 2022 20:02:13 +0200 Message-ID: <2133883.Mh6RI2rZIc@kreacher> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 213.134.169.45 X-CLIENT-HOSTNAME: 213.134.169.45 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggdduudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepffffffekgfehheffleetieevfeefvefhleetjedvvdeijeejledvieehueevueffnecukfhppedvudefrddufeegrdduieelrdegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvudefrddufeegrdduieelrdeghedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepfedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehrohgsvghrthdrmhhoohhrvgesihhnthgvlhdrtghomhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-DCC--Metrics: v370.home.net.pl 1024; Body=3 Fuz1=3 Fuz2=3 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Rafael J. Wysocki The acpi_ex_load_op() code has slightly diverged from the upstream implementation, so correct that to make the behavior consistent with the upstream and avoid patch backporting issues going forward. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/acpica/exconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Index: linux-pm/drivers/acpi/acpica/exconfig.c =================================================================== --- linux-pm.orig/drivers/acpi/acpica/exconfig.c +++ linux-pm/drivers/acpi/acpica/exconfig.c @@ -295,8 +295,8 @@ acpi_ex_load_op(union acpi_operand_objec target)); } if (target->common.type != ACPI_TYPE_INTEGER) { - ACPI_EXCEPTION((AE_INFO, AE_TYPE, - "Type not integer: %X\n", target->common.type)); + ACPI_ERROR((AE_INFO, "Type not integer: %X", + target->common.type)); return_ACPI_STATUS(AE_AML_OPERAND_TYPE); }