Skip to contentSkip to conversation

tools-disable-wno-type-limits.patch removed from -mm tree

merged [email protected] 1 participant 1 message May 8, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: tools: disable -Wno-type-limits
has been removed from the -mm tree. Its filename was
tools-disable-wno-type-limits.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Yury Norov <[email protected]>
Subject: tools: disable -Wno-type-limits

Patch series "lib/find_bit: fast path for small bitmaps", v6.

Bitmap operations are much simpler and faster in case of small bitmaps which fit into a single word. In linux/bitmap.c we have a machinery that allows compiler to replace actual function call with a few instructions if bitmaps passed into the function are small and their size is known at compile time.

find_*_bit() API lacks this functionality; but users will benefit from it a lot. One important example is cpumask subsystem when NR_CPUS <= BITS_PER_LONG.

This patch (of 12):

GENMASK(h, l) may be passed with unsigned types. In such case, type-limits warning is generated for example in case of GENMASK(h, 0).

Cc Alexey Klimov <[email protected]>
Cc Andy Shevchenko <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc David Sterba <[email protected]>
Cc Dennis Zhou <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Jianpeng Ma <[email protected]>
Cc Joe Perches <[email protected]>
Cc John Paul Adrian Glaubitz <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Rich Felker <[email protected]>
Cc Stefano Brivio <[email protected]>
Cc Wei Yang <[email protected]>
Cc Wolfram Sang <[email protected]>
Cc Yoshinori Sato <[email protected]>

---

 tools/scripts/Makefile.include |    1 +
 1 file changed, 1 insertion(+)
tools/scripts/Makefile.include renamed from tools/scripts/Makefile.include~tools-disable-wno-type-limits +1 -0
@@ -38,6 +38,7 @@ EXTRA_WARNINGS += -Wswitch-enum
 EXTRA_WARNINGS += -Wundef
 EXTRA_WARNINGS += -Wwrite-strings
 EXTRA_WARNINGS += -Wformat
+EXTRA_WARNINGS += -Wno-type-limits
 
 # Makefiles suck: This macro sets a default value of $(2) for the
 # variable named by $(1), unless the variable has been set by

_

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