Re: [PATCH] Revert "Enable '-Werror' by default for all kernel builds"

From: Randy Dunlap
Date: Tue Sep 07 2021 - 18:35:13 EST


On 9/7/21 3:18 PM, Linus Torvalds wrote:
On Tue, Sep 7, 2021 at 3:14 PM Marco Elver <elver@xxxxxxxxxx> 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