[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAS5j6+o+wb8WL=8WP4r4fgqY1MDSGe0_u9Nri81_Eb3xw@mail.gmail.com>
Date: Tue, 5 Feb 2019 17:26:05 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: jflat@...omium.org
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH] kbuild, LLVMLinux: Don't suppress format warnings
On Sat, Feb 2, 2019 at 6:10 AM <jflat@...omium.org> wrote:
>
> From: Jon Flatley <jflat@...omium.org>
>
> gcc produces format warnings that clang suppresses. To keep behavior
> consistent between gcc and clang, don't suppress format warnings in
> clang.
>
> Signed-off-by: Jon Flatley <jflat@...omium.org>
> ---
Applied to linux-kbuild.
Thanks.
> scripts/Makefile.extrawarn | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
> index 768306add591..94daf4e1fc73 100644
> --- a/scripts/Makefile.extrawarn
> +++ b/scripts/Makefile.extrawarn
> @@ -68,7 +68,6 @@ else
> ifdef CONFIG_CC_IS_CLANG
> KBUILD_CFLAGS += $(call cc-disable-warning, initializer-overrides)
> KBUILD_CFLAGS += $(call cc-disable-warning, unused-value)
> -KBUILD_CFLAGS += $(call cc-disable-warning, format)
> KBUILD_CFLAGS += $(call cc-disable-warning, sign-compare)
> KBUILD_CFLAGS += $(call cc-disable-warning, format-zero-length)
> KBUILD_CFLAGS += $(call cc-disable-warning, uninitialized)
> --
> 2.20.1.611.gfbb209baf1-goog
>
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists