12 lines
492 B
Diff
12 lines
492 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 60197900e..b0d6dbe83 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -710,6 +710,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, array-compare)
|
|
KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overread)
|
|
KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
|
|
KBUILD_CFLAGS += $(call cc-disable-warning, address)
|
|
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
|
|
|
|
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
|
KBUILD_CFLAGS += -Os
|