Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp212511lql; Fri, 12 Apr 2024 08:14:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVAj8KpPd1p9lfqocUYeFeh4pk85MrhgHY3aiZb8zlbOunLqn62Lv/OYQ8l6UMEwZ2xtmYAfTP/FfAtIaWZ1NwYecOzah6cFRWx8xnF1w== X-Google-Smtp-Source: AGHT+IGa0l2/2pT1yulnZUGcKB941a9JZv7cfECHpczKdWLwdQgHFfBt0lZVW6fGOgX7zzi3Ibit X-Received: by 2002:a05:6512:484f:b0:516:d471:a4a2 with SMTP id ep15-20020a056512484f00b00516d471a4a2mr2194840lfb.36.1712934863212; Fri, 12 Apr 2024 08:14:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712934863; cv=pass; d=google.com; s=arc-20160816; b=vHRkXH3N+D8NCtKH5LdbFHS4Gs9tuMFzxZ/r6hFlgr4UJMzfJmOJvyqnpz/H6C79oU u89oCbdNNq7T2iej9RyLcqQAmf2W/FL0JZqdtrEqwuC1SUPTSUC6FxWJbVsNNDgcOvOr Iw9+AW1PQrFT2egM7ioQmcF/2B1S9cTT57w2XeiM4yQNLiHpEPHo59wRnSzWGte4wBgf 039xZKP6RAgBjN/UPuqeolMzTAv13XB52KoPkEc44XxdJvSLE4SkPOxkZxCBcZH2ZIyF Z/R/xEd6Tvar525c/wz3+gsn2Vu40yYHnege5zWJfquFGkGQR/gZoOFjvgnjKx3nW90w Ihug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=BiXRAFEZsDHL69BE/DT2d7iF9NIm8+iw8M+jGt62Dx0=; fh=9nwRopHxyVgRW5VsWcX5PqyjsRn0wIZwejY5TUrUef0=; b=QUFk/aRx3K26uS6ptLuvUkVpxbu13nt/RtgkjLCqBISsnnk8Ipphi+U6J2BhUYW7vZ G6lDVaae+lNJSR+UKHnHFAlSXDDdu4uW30CD6BgB3YqZ5C3AvBEfzeJdROL8m5sYSGDz kaetZ5vOxQZgczrO1h++xjY6SEjMIvGyhAlsw8eB296+RkhZsRXLSh23H7yXst2kD9z8 +r15vP+6sRUElsOs1tBmlB1nhtd7JqBWo8B+SfPWfD65KxSiUUFaf378/j4BE/oJANAZ LLBJYOIdZUlZLLAvCMjoscbOAswzy3VPSWr2flBNutLpkiCIB4GMb+TtHL2tJetN35eB 5j/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rjwysocki.net header.s=dkim header.b=exoCXUQI; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net dkim=pass dkdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-142908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142908-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gs8-20020a1709072d0800b00a4e6626adfesi1850986ejc.593.2024.04.12.08.14.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 08:14:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@rjwysocki.net header.s=dkim header.b=exoCXUQI; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net dkim=pass dkdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-142908-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142908-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E69F41F21D7A for ; Fri, 12 Apr 2024 15:14:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 97884149018; Fri, 12 Apr 2024 15:13:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b="exoCXUQI" Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D909A1487C4; Fri, 12 Apr 2024 15:13:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712934804; cv=none; b=VUVg9ISaj/tsuixMYRys08jbE1Xc+mWVOjBVrSBvBMI1Qlzszd6guEjMFe1fFjBZXmaYuKHC1Y2u2vAAzlmnplTucvAtlNBVOTSi3Bn5H9jLr9M2+JDyEpUcxjivANvIFTheaqdA7jNlqcF52CrnBToRHpyKJIY19zdHRYZka9E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712934804; c=relaxed/simple; bh=Hs9biZqLKEfTkKiiF95DKblDQ5tMVujTw07s2sLFZhg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=MqQ4F/sbDaTWGV/k7NJwvyFmkGBRcvsqB2FZEjM+sYdrEhO9Jv2XRCIR1dmzmxIbVNGfiuak15/RSaqqJj/gZn+oS/GKVR//G4sxHrxTLq6znxpU4lkzzrs9jMREhwu9upcl3YzerbDo9OXVZnEG5pIof1iBWwNLCadVZKi9F3Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; dkim=pass (2048-bit key) header.d=rjwysocki.net header.i=@rjwysocki.net header.b=exoCXUQI; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net 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 6.0.0) id dc1f162837375e90; Fri, 12 Apr 2024 17:13:19 +0200 Received: from kreacher.localnet (unknown [195.136.19.94]) (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 cloudserver094114.home.pl (Postfix) with ESMTPSA id 5D56D66CC48; Fri, 12 Apr 2024 17:13:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rjwysocki.net; s=dkim; t=1712934799; bh=Hs9biZqLKEfTkKiiF95DKblDQ5tMVujTw07s2sLFZhg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=exoCXUQIlavw70iTMGN8Amu/8FmN8Ho5ix9+TnNpmKYb4W/V6QKvl6iByOv/F7u0u NDEf62uA8Bw6dObauWFRbssjBO6d2EwAmmfpq50spCtScH74votEmESSEql4r01jmM tjOEFwlZjpKxZeQcxZYYb81RrPTJQxDcTJYCX8zXNK3zI40XhyJ3ekNXBLrb8lk+xb cQho2HIDwkTnDdgTARQGmqoUu7pEYMXKBo7f/SlNX2iX0MyyntyTlxMUsEcDmKJHNH cmXXMlyyOExK4sxQXyvQY/y2E+aPY1iPktXFFg9JBPKOzY4Pd+9DB7KNl0klZJqoSu WpHEHf8gnCS9A== From: "Rafael J. Wysocki" To: Linux ACPI Cc: LKML , Bob Moore , Saket Dumbre Subject: [PATCH v1 05/12] ACPICA: Clean up the fix for Issue #900 Date: Fri, 12 Apr 2024 17:07:17 +0200 Message-ID: <8368629.T7Z3S40VBb@kreacher> In-Reply-To: <4920972.31r3eYUQgx@kreacher> References: <4920972.31r3eYUQgx@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudeiuddgkeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffqoffgrffnpdggtffipffknecuuegrihhlohhuthemucduhedtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufffkfgjfhgggfgtsehtufertddttdejnecuhfhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqnecuggftrfgrthhtvghrnhepledtieekkeekveeikeetgffgteeuteefjeevjeegudelvdduheeiuedvieehieevnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepudelhedrudefiedrudelrdelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduleehrddufeeirdduledrleegpdhhvghlohepkhhrvggrtghhvghrrdhlohgtrghlnhgvthdpmhgrihhlfhhrohhmpedftfgrfhgrvghlucflrdcuhgihshhotghkihdfuceorhhjfiesrhhjfiihshhotghkihdrnhgvtheqpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheplhhinhhugidqrggtphhisehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtoheprhhosggvrhhtrdhmohhorhgvsehinhhtvghlrdgtohhmpdhrtghpthhtohepshgrkhgvthdrughumhgsrhgv sehinhhtvghlrdgtohhm X-DCC--Metrics: v370.home.net.pl 1024; Body=4 Fuz1=4 Fuz2=4 From: Saket Dumbre ACPICA commit b6b38edb0c18017af0bd2aff4eaa502810c8873f Link: https://github.com/acpica/acpica/commit/b6b38edb Signed-off-by: Rafael J. Wysocki --- drivers/acpi/acpica/utdebug.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c index 2f37d673e285..98027d2f7bfb 100644 --- a/drivers/acpi/acpica/utdebug.c +++ b/drivers/acpi/acpica/utdebug.c @@ -42,6 +42,7 @@ void acpi_ut_init_stack_ptr_trace(void) #pragma GCC diagnostic ignored "-Wdangling-pointer=" #endif acpi_gbl_entry_stack_pointer = ¤t_sp; +#pragma GCC diagnostic pop } /******************************************************************************* @@ -61,8 +62,12 @@ void acpi_ut_track_stack_ptr(void) acpi_size current_sp; if (¤t_sp < acpi_gbl_lowest_stack_pointer) { +#pragma GCC diagnostic push +#if defined(__GNUC__) && __GNUC__ >= 12 +#pragma GCC diagnostic ignored "-Wdangling-pointer=" +#endif acpi_gbl_lowest_stack_pointer = ¤t_sp; -#pragma GCC diagnostic pop +#pragma GCC diagnostic popmake } if (acpi_gbl_nesting_level > acpi_gbl_deepest_nesting) { -- 2.35.3