[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjGsKD=DYgYqYUDzGKT8BOPLhqebw2YB6PCuZenE3qEzA@mail.gmail.com>
Date: Fri, 25 Mar 2022 10:20:15 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Borislav Petkov <bp@...en8.de>, Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH v1 1/1] Makefile.extrawarn: Turn off -Werror when extra
warnings are enabled
On Fri, Mar 25, 2022 at 7:35 AM Masahiro Yamada <masahiroy@...nel.org> wrote:
> WERROR should not be enabled for regular builds.
No.
WERROR should be on for regular builds.
It's W=1 that is questionable. It enables warnings that are often
false positives, and if you use W=1 (and particularly W=2) then that's
_your_ problem.
W=1 is most definitely not "regular builds". It's only for people who
want to deal with crazy compiler warnings.
I want WERROR on as widely as possible, because I'm really sick and
tired of developers not noticing when they add warnings because they
did a "regular build"
Stop this idiocy where you think warnings are acceptable.
Linus
Powered by blists - more mailing lists