diff mbox series

[v2] kbuild: re-enable int-in-bool-context warning

Message ID 1557363481-27178-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit a3bc88645e9293f5aaac9c05a185d9f1c0594c6c
Headers show
Series [v2] kbuild: re-enable int-in-bool-context warning | expand

Commit Message

Masahiro Yamada May 9, 2019, 12:58 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, all warnings have been fixed. Now, we are
ready to re-enable it.

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

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

Changes in v2:
  - rebase

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

-- 
2.7.4

Comments

Masahiro Yamada May 13, 2019, 2:26 a.m. UTC | #1
On Thu, May 9, 2019 at 9:58 AM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> 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, all warnings have been fixed. Now, we are

> ready to re-enable it.

>

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

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

> ---


Applied to linux-kbuild.



> Changes in v2:

>   - rebase

>

>  Makefile | 1 -

>  1 file changed, 1 deletion(-)

>

> diff --git a/Makefile b/Makefile

> index a61a95b..2896518 100644

> --- a/Makefile

> +++ b/Makefile

> @@ -692,7 +692,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)

>  KBUILD_CFLAGS  += $(call cc-disable-warning, address-of-packed-member)

>

>  ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE

> --

> 2.7.4

>



-- 
Best Regards
Masahiro Yamada
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index a61a95b..2896518 100644
--- a/Makefile
+++ b/Makefile
@@ -692,7 +692,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)
 KBUILD_CFLAGS	+= $(call cc-disable-warning, address-of-packed-member)
 
 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE