arch/m68k/coldfire/m523x.c:93:13: error: implicit declaration of function 'MCFCIR'; did you mean 'MCF_CIR'?
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git cpu-model head: bdf44b7b88a06b5bfcef4a4a64b9baa63b9a6646 commit: 08bb06f5e742469237cc22d7571e443ff5272187 [3/10] m68knommu: probe CPU identity for ColdFire 523x types config: m68k-randconfig-2000-20261119 (https://download.01.org/0day-ci/archive/20261119/[email protected]/config) compiler: m68k-linux-gcc (GCC) 15.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261119/[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 >>):
arch/m68k/coldfire/m523x.c: In function 'm523x_probe_cpu':
>> arch/m68k/coldfire/m523x.c:93:13: error: implicit declaration of function 'MCFCIR'; did you mean 'MCF_CIR'? [-Wimplicit-function-declaration]
93 | if (MCFCIR(v) == MCFCIR_5235)
| ^~~~~~
| MCF_CIRvim +93 arch/m68k/coldfire/m523x.c
87
88 static void __init m523x_probe_cpu(void)
89 {
90 u16 v;
91
92 v = mcf_read16(MCF_CIR);
> 93 if (MCFCIR(v) == MCFCIR_5235)
94 m68k_cpumodel = "5235";
95 else
96 m68k_cpumodel = "523x";
97 m68k_cpurevision = MCFCIR_PRN(v);
98 }
99 Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki