[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8fb537f-26e5-b305-6bc5-06f0d27a4029@infradead.org>
Date: Tue, 7 Sep 2021 15:33:18 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Marco Elver <elver@...gle.com>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>, llvm@...ts.linux.dev,
LSM List <linux-security-module@...r.kernel.org>,
linux-toolchains@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Guenter Roeck <linux@...ck-us.net>,
Kees Cook <keescook@...omium.org>,
Mark Brown <broonie@...nel.org>,
Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Vipin Sharma <vipinsh@...gle.com>,
Chris Down <chris@...isdown.name>,
Rasmus Villemoes <linux@...musvillemoes.dk>,
Daniel Borkmann <daniel@...earbox.net>,
Vlastimil Babka <vbabka@...e.cz>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Revert "Enable '-Werror' by default for all kernel
builds"
On 9/7/21 3:18 PM, Linus Torvalds wrote:
> On Tue, Sep 7, 2021 at 3:14 PM Marco Elver <elver@...gle.com> wrote:
>>
>>
>> config WERROR
>> bool "Compile the kernel with warnings as errors"
>> - default y
>> + default COMPILE_TEST
>
> That seems reasonable. It very much is about build-testing.
That and 2 more things IMO:
a. having developers be responsible for build warnings, not just
build errors
b. having maintainers merge them more like they are build errors
and not just some warnings that can be overlooked.
I don't see enough of a. or b. :(
--
~Randy
Powered by blists - more mailing lists