diff --git a/Makefile b/Makefile index 842015e..d05d62b 100644 --- a/Makefile +++ b/Makefile @@ -597,8 +597,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer) KBUILD_CFLAGS += $(call cc-disable-warning, address) KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized) - +KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch) KBUILD_CFLAGS += -g + # $(KBUILD_AFLAGS) sets -g, which causes gcc to pass a suitable -g # option to the assembler. KBUILD_AFLAGS += -g