Linux M68K Architecture development
 help / color / mirror / Atom feed
* [gerg-m68knommu:cpu-model 3/10] arch/m68k/coldfire/m523x.c:93:13: error: implicit declaration of function 'MCFCIR'; did you mean 'MCF_CIR'?
@ 2026-11-19  6:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-19  6:08 UTC (permalink / raw)
  To: Greg Ungerer; +Cc: oe-kbuild-all, linux-m68k, uclinux-dev

tree:   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/20261119070741.Az2SiBZu-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261119/20261119070741.Az2SiBZu-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261119070741.Az2SiBZu-lkp@intel.com/

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_CIR


vim +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	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-19  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-19  6:08 [gerg-m68knommu:cpu-model 3/10] arch/m68k/coldfire/m523x.c:93:13: error: implicit declaration of function 'MCFCIR'; did you mean 'MCF_CIR'? kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox