On Tue, Oct 14, 2025 at 8:36AM kernel test robot <[email protected]> wrote: > > Hi Siddharth, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on arnd-asm-generic/master] > [also build test ERROR on soc/for-next linus/master v6.18-rc1 next-20251013] > [cannot apply to mcgrof/modules-next] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > url: > https://github.com/intel-lab-lkp/linux/commits/Siddharth-Nayyar/define-kernel-symbol-flags/20251014-005305 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git > master > patch link: > https://lore.kernel.org/r/20251013153918.2206045-11-sidnayyar%40google.com > patch subject: [PATCH v2 10/10] module loader: enforce symbol import > protection > config: x86_64-kexec > (https://download.01.org/0day-ci/archive/20251014/[email protected]/config) > compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project > 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) > reproduce (this is a W=1 build): > (https://download.01.org/0day-ci/archive/20251014/[email protected]/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version > of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <[email protected]> > | Closes: > https://lore.kernel.org/oe-kbuild-all/[email protected]/ > > All errors (new ones prefixed by >>): > > >> kernel/module/main.c:1271:32: error: no member named 'sig_ok' in 'struct > >> module' > 1271 | if (fsa.is_protected && !mod->sig_ok) { > | ~~~ ^ > 1 error generated.
'sig_ok' is only defined when CONFIG_MODULE_SIG is set. I will wrap this statement in '#ifdef CONFIG_MODULE_SIG' in a follow-up patch. Regards, Siddharth Nayyar

