Unverified Commit 34a1bd0b authored by Vincent Mailhol's avatar Vincent Mailhol Committed by Nathan Chancellor
Browse files

kbuild: cleanup local -Wno-type-limits exceptions



Now that -Wtype-limits is globally deactivated, there is no need for
local exceptions anymore.

Acked-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarVincent Mailhol <mailhol@kernel.org>
Reviewed-by: default avatarNicolas Schier <nsc@kernel.org>
Link: https://patch.msgid.link/20251220-remove_wtype-limits-v3-2-24b170af700e@kernel.org


Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
parent 660e8991
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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)),)
+0 −1
Original line number Diff line number Diff line
@@ -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