[PATCH RFC next 04/18] kbuild: re-enable int-in-bool-context warning

Simon Glass sjg at chromium.org
Mon May 4 22:30:33 CEST 2026


On 2026-05-04T13:20:27, Quentin Schulz <foss+uboot at 0leil.net> wrote:
> kbuild: re-enable int-in-bool-context warning
>
> [ Upstream commit a3bc88645e9293f5aaac9c05a185d9f1c0594c6c ]
>
> Original commit log:
>
>   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: Quentin Schulz <quentin.schulz at cherry.de>
>
> Makefile | 1 -
>  1 file changed, 1 deletion(-)

> diff --git a/Makefile b/Makefile
> @@ -897,7 +897,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)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list