From nobody Sun Feb 8 04:18:01 2026 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 2D57E259CBC; Thu, 23 Oct 2025 20:01:50 +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=1761249711; cv=none; b=SO9QRp3kFUwgqx0M2V/2muxp85hwbNnYtm0EDn1K3SkLV80YtJmY1gzz1Lv4327QVwNEMYvNWuE7Sg+I+sagW46egUx25IYS0zJ7oU1DaWnSPnL6H2hNFyLtylas4PQ6UcOHn8ZeCY/OIukYwu8TasWy+eBIhLAEJGKgbu7YwCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761249711; c=relaxed/simple; bh=Eu6HfZEhZL3SUYJl2vnfzlz3reoi/tZPm0mScOAvxFE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=W1t6FSemAi79riM6RHEYdmI63uXJsBdez/+USOZJ5NsDvtEzrF5BR2TxRLwpZKkVbxbXLlJioOIX1C0PEsri3qn07FTSvYH6oIingTtO93H0RfUHARp+st3PlOQNYyUcRbAS3wC82K2k96Jn2hkJiQEV4lrPVBQ4vDZD2uE4boE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=icK013OY; 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="icK013OY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32BFDC4CEFD; Thu, 23 Oct 2025 20:01:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1761249710; bh=Eu6HfZEhZL3SUYJl2vnfzlz3reoi/tZPm0mScOAvxFE=; h=From:Date:Subject:To:Cc:From; b=icK013OYGCEOpbgsoWvdtv3EVccL7mUBJzdsVmJJTVfEIgWxqWpdM+8QCEu7R5hTm FxG74pNdgos++OaFPRWc3Q9tbPjBLi8ZQM6+++xCHi6T4z8ULbHP4sAhiVPMXpaj07 KrvlKpiT1OZRxa1KFDtDwH9KUlAzfwL8e/EsFUhcfgX0HmhITSB2qkS+lzXbTbM+AL 8lbhLr/fU1xiIEKwvfi5P1wSfUcD8PdNl2jyRdqKVJ5MlT34ylX76STYfXNrh4iflN c9jnl1gYKYou+xUcC/g3/9J5aQnceXtnp3vgmFuUhhTV0M5VO/pY28m4Vw1hESgq1b ww/8n99NmypJw== From: Nathan Chancellor Date: Thu, 23 Oct 2025 22:01:36 +0200 Subject: [PATCH] kbuild: Rename Makefile.extrawarn to Makefile.warn 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: quoted-printable Message-Id: <20251023-rename-scripts-makefile-extrawarn-v1-1-8f7531542169@kernel.org> X-B4-Tracking: v=1; b=H4sIAJ+J+mgC/x2NwQrCQAwFf6XkbGC7rYf6K+Ih7r5q0K4lKbZQ+ u8uHgeGmZ0cpnC6NDsZvur6KRXaU0PpKeUB1lyZYojnNsSODUUmsCfTeXGe5IVR32Bsi8kqVjj 1Q5/HIYd8F6qd2aqx/R/X23H8ANNYXoRzAAAA X-Change-ID: 20251023-rename-scripts-makefile-extrawarn-c494df9d0dba To: Nathan Chancellor , Nicolas Schier Cc: Rasmus Villemoes , Arnd Bergmann , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-Mailer: b4 0.15-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2086; i=nathan@kernel.org; h=from:subject:message-id; bh=Eu6HfZEhZL3SUYJl2vnfzlz3reoi/tZPm0mScOAvxFE=; b=owGbwMvMwCUmm602sfCA1DTG02pJDBm/OlfHcZxxfHelLboip1Wgtrg6/ONU73MGBjZ3/06v2 SorVDCxo5SFQYyLQVZMkaX6sepxQ8M5ZxlvnJoEM4eVCWQIAxenAExkbyIjw5xlJ1SS3l4NMxd2 eeElKyqw73zLS5YA7qMHTMU+TRVk+8rIsH1D+jdXj79cD9y3MpRoqAWVfvx+56v1uaOlupk7rNh usAAA X-Developer-Key: i=nathan@kernel.org; a=openpgp; fpr=2437CB76E544CB6AB3D9DFD399739260CB6CB716 Since commit e88ca24319e4 ("kbuild: consolidate warning flags in scripts/Makefile.extrawarn"), scripts/Makefile.extrawarn contains all warnings for the main kernel build, not just warnings enabled by the values for W=3D. Rename it to scripts/Makefile.warn to make it clearer that this Makefile is where all Kbuild warning handling should exist. Signed-off-by: Nathan Chancellor --- Makefile | 2 +- drivers/gpu/drm/Makefile | 2 +- scripts/{Makefile.extrawarn =3D> Makefile.warn} | 0 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 79b631075d33..96ca0f17d158 100644 --- a/Makefile +++ b/Makefile @@ -1084,7 +1084,7 @@ KBUILD_CPPFLAGS +=3D $(call cc-option,-fmacro-prefix-= map=3D$(srcroot)/=3D) endif =20 # include additional Makefiles when needed -include-y :=3D scripts/Makefile.extrawarn +include-y :=3D scripts/Makefile.warn include-$(CONFIG_DEBUG_INFO) +=3D scripts/Makefile.debug include-$(CONFIG_DEBUG_INFO_BTF)+=3D scripts/Makefile.btf include-$(CONFIG_KASAN) +=3D scripts/Makefile.kasan diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index 4b2f7d794275..d1a102c4b80a 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -6,7 +6,7 @@ CFLAGS-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) +=3D -DDYNAMIC_DEBUG_MODULE =20 # Unconditionally enable W=3D1 warnings locally -# --- begin copy-paste W=3D1 warnings from scripts/Makefile.extrawarn +# --- begin copy-paste W=3D1 warnings from scripts/Makefile.warn subdir-ccflags-y +=3D -Wextra -Wunused -Wno-unused-parameter subdir-ccflags-y +=3D $(call cc-option, -Wrestrict) subdir-ccflags-y +=3D -Wmissing-format-attribute diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.warn similarity index 100% rename from scripts/Makefile.extrawarn rename to scripts/Makefile.warn --- base-commit: ac1280211e1c41704c756fd1bc5512f92010b3f0 change-id: 20251023-rename-scripts-makefile-extrawarn-c494df9d0dba Best regards, -- =20 Nathan Chancellor