On Tue, Mar 5, 2024, at 18:42, Nathan Chancellor wrote:
As the warnings do not appear to have a high signal to noise ratio and the source level silencing options are not sustainable, disable the warnings unconditionally, as they will be enabled with -Wenum-conversion and are supported in all versions of clang that can build the kernel.
I took a look at a sample of warnings in an allmodconfig build and found a number that need attention. I would much prefer to leave these turned on at the W=1 level and only disable them at the default warning level.
Arnd