From: mmarek@suse.com (Michal Marek)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] kbuild: Demote 'sign-compare' warning to W=2
Date: Tue, 12 Jan 2016 16:08:14 +0100 [thread overview]
Message-ID: <569516DE.1020002@suse.com> (raw)
In-Reply-To: <1452608658-28190-1-git-send-email-lee.jones@linaro.org>
On 2016-01-12 15:24, Lee Jones wrote:
> Ideally, a kernel compile with W=1 enabled should complete cleanly;
> however, when we run one currently we are presented with ~25k warnings.
> 'sign-compare' accounts for ~22k of those ~25k.
>
> In this patch we're demoting 'sign-compare' warnings to W=2, with a view
> to fixing the remaining 3k W=1 warnings required for a clean build.
>
> Arnd adds:
> "As per our discussion, I'd add that this was inadvertedly introduced
> by Behan when he moved the clang specific warnings into an ifdef block
> and did not notice that -Wsign-compare was interpreted by both gcc
> and clang.
>
> Earlier, it was introduced in just the same way by Jan-Simon as part
> of 3d3d6b847420 ("kbuild: LLVMLinux: Adapt warnings for compilation
> with clang")."
>
> Acked-by: Arnd Bergmann <arnd@arndb.de>
> Fixes: 26ea6bb1fef0 ("kbuild, LLVMLinux: Supress warnings unless W=1-3")
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Applied to kbuild.git#kbuild.
Michal
next prev parent reply other threads:[~2016-01-12 15:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-12 14:24 [PATCH] kbuild: Demote 'sign-compare' warning to W=2 Lee Jones
2016-01-12 15:08 ` Michal Marek [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-01-12 13:31 Lee Jones
2016-01-12 14:05 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=569516DE.1020002@suse.com \
--to=mmarek@suse.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).