]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
kbuild: cleanup local -Wno-type-limits exceptions
authorVincent Mailhol <mailhol@kernel.org>
Sat, 20 Dec 2025 11:02:20 +0000 (12:02 +0100)
committerNathan Chancellor <nathan@kernel.org>
Mon, 5 Jan 2026 23:54:14 +0000 (16:54 -0700)
Now that -Wtype-limits is globally deactivated, there is no need for
local exceptions anymore.

Acked-by: David Sterba <dsterba@suse.com>
Signed-off-by: Vincent Mailhol <mailhol@kernel.org>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20251220-remove_wtype-limits-v3-2-24b170af700e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
drivers/gpu/drm/Makefile
fs/btrfs/Makefile

index 0e1c668b46d2119c166430ac99996bc155c026c5..b879a60ca79a09ce9f1c2651a1ef78dd53b16569 100644 (file)
@@ -22,7 +22,6 @@ subdir-ccflags-y += $(call cc-option, -Wstringop-truncation)
 # The following turn off the warnings enabled by -Wextra
 ifeq ($(findstring 2, $(KBUILD_EXTRA_WARN)),)
 subdir-ccflags-y += -Wno-missing-field-initializers
-subdir-ccflags-y += -Wno-type-limits
 subdir-ccflags-y += -Wno-shift-negative-value
 endif
 ifeq ($(findstring 3, $(KBUILD_EXTRA_WARN)),)
index 743d7677b175dfd4d6a3fcddb7ff75273a9e177d..40bc2f7e6f6bc738bf9b6ad1fd458d3e0de85934 100644 (file)
@@ -17,7 +17,6 @@ subdir-ccflags-y += $(condflags)
 # The following turn off the warnings enabled by -Wextra
 subdir-ccflags-y += -Wno-missing-field-initializers
 subdir-ccflags-y += -Wno-sign-compare
-subdir-ccflags-y += -Wno-type-limits
 subdir-ccflags-y += -Wno-shift-negative-value
 
 obj-$(CONFIG_BTRFS_FS) := btrfs.o