From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 154AC33A70A for ; Thu, 19 Feb 2026 13:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771507643; cv=none; b=ufxas6zr8GMamwz8RwChiB+BQJtNlS/dZqlfE06YDYppsSAJajgdxcKMXSnACsQeCKsx8H5cngfzBUXwaD3fidKgDtyZlsHpDLnW+E+k25l3t8zSnaeelfSxrxKzl5tq9H0uuDn+33vg0LzaHw/0Mv3Z3CeOT5uCadwJOJkz2iA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771507643; c=relaxed/simple; bh=UOmv4/E5nYy5BuX3+7GRvfIqjiGW59WAq5mvH6o1Cs8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H6eQo/auCEZBiGLBfrniPIyZgfGKnFsIm3QCjyhU2jvZIcWsHFV1HRpQZyC0BImeHrcfmSfjfSljGwkngwNg0R/K/5x36ofYf144Qg9g8R7FMMjoNKPPD+PCLBOZTcprsoMhTmUabCo/Wjopo9dfyu+xsu/NBtlvVutI/ELonqk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uNOQaBTL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uNOQaBTL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A3E9C4CEF7; Thu, 19 Feb 2026 13:27:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771507642; bh=UOmv4/E5nYy5BuX3+7GRvfIqjiGW59WAq5mvH6o1Cs8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uNOQaBTL7KMcBfgk1wXGWh+KUFICzxB6eyujlrmU/fF72X+OYUHyNEMo6hw8681ic OApECaWkaXvQ4LcywazEtUD2FA5QnfcegHAPX56OO3xUe9JxZhpThbZMvSWvtXBjrP R33bpr0AJcFrhkC9GYZDlKnB58RNiu6bxeydvrxJgGuXJAupJxa88SWtUYO+MpdaBn uvM0ajf9GqW+DHOTV7G25FmOBzW3/pRlNleAECTAMJHJGdYUlutP+CICLYZGgrxBOl aSYzRKHX1YL/+xTassE615sYOoqHCXDnGYgOtAsPwIOMRSetzrlgCKzm1wEIf34PEx WHilAr9VQYjEA== From: Will Deacon To: Catalin Marinas , Arnd Bergmann Cc: kernel-team@android.com, Will Deacon , Arnd Bergmann , Andrew Morton , Ryan Roberts , Anshuman Khandual , Rohan McLure , Kevin Brodsky , Baolin Wang , Alistair Popple , Andrew Donnellan , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v3] arm64: hugetlbpage: avoid unused-but-set-parameter warning (gcc-16) Date: Thu, 19 Feb 2026 13:27:12 +0000 Message-ID: <177150443271.2427273.4066606307827400858.b4-ty@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260216105432.2381873-1-arnd@kernel.org> References: <20260216105432.2381873-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Mon, 16 Feb 2026 11:54:21 +0100, Arnd Bergmann wrote: > gcc-16 warns about an instance that older compilers did not: > > arch/arm64/mm/hugetlbpage.c: In function 'huge_pte_clear': > arch/arm64/mm/hugetlbpage.c:369:57: error: parameter 'addr' set but not used [-Werror=unused-but-set-parameter=] > > The issue here is that __pte_clear() does not actually use its second > argument, but when CONFIG_ARM64_CONTPTE is enabled it still gets > updated. > > [...] Applied to arm64 (for-next/core), thanks! [1/1] arm64: hugetlbpage: avoid unused-but-set-parameter warning (gcc-16) https://git.kernel.org/arm64/c/729a2e8e9ac4 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev