Skip to contentSkip to conversation

kbuild-enable-wcast-function-type-strict-unconditionally.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 19, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kbuild: enable -Wcast-function-type-strict unconditionally
has been removed from the -mm tree. Its filename was
kbuild-enable-wcast-function-type-strict-unconditionally.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Arnd Bergmann <[email protected]>
Subject: kbuild: enable -Wcast-function-type-strict unconditionally
Date: Mon, 15 Apr 2024 14:20:36 +0200

All known function cast warnings are now addressed, so the warning can be enabled globally to catch new ones more quickly.

---

 scripts/Makefile.extrawarn |    1 -
 1 file changed, 1 deletion(-)
scripts/Makefile.extrawarn renamed from scripts/Makefile.extrawarn~kbuild-enable-wcast-function-type-strict-unconditionally +0 -1
@@ -129,7 +129,6 @@ endif
 KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast)
 KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare
 KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access)
-KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict)
 KBUILD_CFLAGS += -Wno-enum-compare-conditional
 KBUILD_CFLAGS += -Wno-enum-enum-conversion
 endif

_

Patches currently in -mm which might be from [email protected] are