arch/m68k/kernel/setup_no.c:104:undefined reference to `m68k_cpumodel'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git cpu-model head: 6217ad6f81c95c3046e6d406734dfdbf2aa85542 commit: d034e5f2c808aebe347eb33720e5a9937d6395c3 [1/10] m68k: support reporting CPU model name and revision config: m68k-randconfig-2200-20261109 (https://download.01.org/0day-ci/archive/20261109/[email protected]/config) compiler: m68k-linux-gcc (GCC) 12.5.0 smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261109/[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 >>):
m68k-linux-ld: arch/m68k/kernel/setup.o: in function `setup_arch':
>> arch/m68k/kernel/setup_no.c:104:(.init.text+0x6e): undefined reference to `m68k_cpumodel' >> m68k-linux-ld: arch/m68k/kernel/setup_no.c:105:(.init.text+0x7a): undefined reference to `m68k_cpumodel' >> m68k-linux-ld: arch/m68k/kernel/setup_no.c:106:(.init.text+0x80): undefined reference to `m68k_cpurevision'
vim +104 arch/m68k/kernel/setup_no.c
101
102 process_uboot_commandline(&command_line[0], sizeof(command_line));
103
> 104 if (m68k_cpumodel == NULL) > 105 m68k_cpumodel = CPU_NAME; > 106 if (m68k_cpurevision)
107 sprintf(revstr, "revision=%ld", m68k_cpurevision);
108 pr_info("CPU: %s (%s,noMMU) %s\n", m68k_cpumodel, CPU_FAMILY, revstr);
109
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki