diff mbox series

kbuild: re-enable int-in-bool-context warning

Message ID 20190418111822.12660-1-yamada.masahiro@socionext.com
State Superseded
Headers show
Series kbuild: re-enable int-in-bool-context warning | expand

Commit Message

Masahiro Yamada April 18, 2019, 11:18 a.m. UTC
This warning was disabled by commit bd664f6b3e37 ("disable new
gcc-7.1.1 warnings for now") just because it was too noisy.

Thanks to Arnd Bergmann, (almost) all warnings have been fixed.
We are now ready to re-enable it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Cc: Arnd Bergmann <arnd@arndb.de>
---

 Makefile | 1 -
 1 file changed, 1 deletion(-)

-- 
2.17.1
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 459f37d9c482..adba08606f37 100644
--- a/Makefile
+++ b/Makefile
@@ -690,7 +690,6 @@  KBUILD_CFLAGS	+= $(call cc-option,-fno-delete-null-pointer-checks,)
 KBUILD_CFLAGS	+= $(call cc-disable-warning,frame-address,)
 KBUILD_CFLAGS	+= $(call cc-disable-warning, format-truncation)
 KBUILD_CFLAGS	+= $(call cc-disable-warning, format-overflow)
-KBUILD_CFLAGS	+= $(call cc-disable-warning, int-in-bool-context)
 
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
 KBUILD_CFLAGS	+= -Os