[PATCH] net: correcting section tags for .init and .exit data/functions

Rong Xu xur at google.com
Mon Jun 15 14:26:31 PDT 2026


After studying the warnings further, I believe this is an incorrect fix.

Normally, *_net_ops structures are intended to live in .data (permanent memory),
even though they point to .init.text. Modpost is handling this by using
hardcoded whitelists to allow these specific exceptions. However, this
whitelist is
failing in ThinLTO because ThinLTO renames *_net_ops to *_net_ops.llvm.*.

I am withdrawing this patch and will send a fix to modpost instead.

Thanks,

-Rong



More information about the linux-arm-kernel mailing list