Re: [GIT PULL] Kbuild updates for v6.16-rc1
From: Heiko Carstens
Date: Wed Jun 11 2025 - 03:58:03 EST
On Sun, Jun 08, 2025 at 01:41:18AM +0900, Masahiro Yamada wrote:
> Kbuild updates for v6.16
>
> - Add support for the EXPORT_SYMBOL_GPL_FOR_MODULES() macro, which exports a
> symbol only to specified modules
>
> - Improve ABI handling in gendwarfksyms
>
> - Forcibly link lib-y objects to vmlinux even if CONFIG_MODULES=n
>
> - Add checkers for redundant or missing <linux/export.h> inclusion
As you write in commit a934a57a42f6 ("scripts/misc-check: check missing
#include <linux/export.h> when W=1") this adds now 4000+ extra warnings
for W=1 builds, which makes such builds more or less useless for me.
Also the commit only describes what you want to achieve, but not why.
I can only guess that you want to reduce header dependencies(?).
Don't get me wrong, I can address all of this trivial churn for s390, however
enforcing so many extra warnings to everyone with W=1 builds doesn't look like
the right approach to me.