Skip to content

Commit 7319256

Browse files
nathanchanceNicolas Schier
authored andcommitted
kbuild: Rename Makefile.extrawarn to Makefile.warn
Since commit e88ca24 ("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=. 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 <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Link: https://patch.msgid.link/20251023-rename-scripts-makefile-extrawarn-v1-1-8f7531542169@kernel.org Signed-off-by: Nicolas Schier <[email protected]>
1 parent d569067 commit 7319256

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srcroot)/=)
10841084
endif
10851085

10861086
# include additional Makefiles when needed
1087-
include-y := scripts/Makefile.extrawarn
1087+
include-y := scripts/Makefile.warn
10881088
include-$(CONFIG_DEBUG_INFO) += scripts/Makefile.debug
10891089
include-$(CONFIG_DEBUG_INFO_BTF)+= scripts/Makefile.btf
10901090
include-$(CONFIG_KASAN) += scripts/Makefile.kasan

drivers/gpu/drm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
CFLAGS-$(CONFIG_DRM_USE_DYNAMIC_DEBUG) += -DDYNAMIC_DEBUG_MODULE
77

88
# Unconditionally enable W=1 warnings locally
9-
# --- begin copy-paste W=1 warnings from scripts/Makefile.extrawarn
9+
# --- begin copy-paste W=1 warnings from scripts/Makefile.warn
1010
subdir-ccflags-y += -Wextra -Wunused -Wno-unused-parameter
1111
subdir-ccflags-y += $(call cc-option, -Wrestrict)
1212
subdir-ccflags-y += -Wmissing-format-attribute
File renamed without changes.

0 commit comments

Comments
 (0)