On Sat, 28 Sept 2024 at 11:13, Nathan Chancellor <nat...@kernel.org> wrote: > > MODVERSIONS recently grew a dependency on !COMPILE_TEST so that Rust > could be more easily tested. However, this introduces a Kconfig warning > when building allmodconfig with a clang version that supports RANDSTRUCT > natively because RANDSTRUCT_FULL and RANDSTRUCT_PERFORMANCE select > MODVERSIONS when MODULES is enabled, bypassing the !COMPILE_TEST > dependency:
Argh. I should have checked, but I didn't think anybody would 'select' MODVERSIONS. That's such an odd thing to do in general, but I guess for RANDSTRUCT it actually makes sense (since a plain version check is nonsensical). Now that 'select' statement is truly crazy and another level of odd duck, but I guess it still makes perfect sense ("give me the build coverage, but this is never going to be run, so don't bother with MODVERSIONS"). So Ack on the patch. And now I did check that there doesn't seem to be anything else with odd MODVERSIONS Kconfig rules. Linus