[PATCH 0/2] tty: serial: samsung_tty: simple cleanups

Krzysztof Kozlowski krzk at kernel.org
Thu Aug 8 00:23:58 PDT 2024


On 07/08/2024 15:58, André Draszik wrote:
> On Wed, 2024-08-07 at 14:53 +0100, Tudor Ambarus wrote:
>> Same on my side. Any idea why CONFIG_WERROR is not enabled by more
>> archs? I see just the two:
>> arch/x86/configs/i386_defconfig:CONFIG_WERROR=y
>> arch/x86/configs/x86_64_defconfig:CONFIG_WERROR=y
> 
> I can't answer that, but it's an opt-in these days, see
> b339ec9c229a ("kbuild: Only default to -Werror if COMPILE_TEST").
> Surely if the concern at the time was runtime testing, then that
> runtime testing CI infra could have disabled CONFIG_WERROR instead of
> globally disabling it for everybody.

You are supposed to look for warnings not rely on errors. The same for
building with W=1...

Best regards,
Krzysztof




More information about the linux-arm-kernel mailing list