Skip to contentSkip to conversation

kbuild-turn-on-wrestrict-by-default.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: turn on -Wrestrict by default
has been removed from the -mm tree. Its filename was
kbuild-turn-on-wrestrict-by-default.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: turn on -Wrestrict by default
Date: Mon, 15 Apr 2024 14:20:34 +0200

All known -Wrestrict warnings are addressed now, so don't disable the warning any more.

---

 scripts/Makefile.extrawarn |    1 -
 1 file changed, 1 deletion(-)
scripts/Makefile.extrawarn renamed from scripts/Makefile.extrawarn~kbuild-turn-on-wrestrict-by-default +0 -1
@@ -98,7 +98,6 @@ else
 # Suppress them by using -Wno... except for W=1.
 KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
 KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
-KBUILD_CFLAGS += $(call cc-disable-warning, restrict)
 KBUILD_CFLAGS += $(call cc-disable-warning, packed-not-aligned)
 KBUILD_CFLAGS += $(call cc-disable-warning, format-overflow)
 KBUILD_CFLAGS += $(call cc-disable-warning, format-truncation)

_

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