All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:timers/cleanup 49/59] arch/mips/bcm63xx/cpu.c:303:10: error: implicit declaration of function 'current_cpu_type'; did you mean 'current_cpu_data'?
@ 2026-07-13  3:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-13  3:22 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/cleanup
head:   0ad363c8e014568032d53fe2c7ab288de68373f4
commit: dc057dc5f95cb914748472aedcb49ebc5953debf [49/59] mips: Select ARCH_HAS_RANDOM_ENTROPY
config: mips-randconfig-r073-20260713 (https://download.01.org/0day-ci/archive/20260713/202607131002.CFOusS91-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 8.5.0
smatch: v0.5.0-9185-gbcc58b9c
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260713/202607131002.CFOusS91-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/202607131002.CFOusS91-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/mips/bcm63xx/cpu.c: In function 'bcm63xx_cpu_init':
>> arch/mips/bcm63xx/cpu.c:303:10: error: implicit declaration of function 'current_cpu_type'; did you mean 'current_cpu_data'? [-Werror=implicit-function-declaration]
     switch (current_cpu_type()) {
             ^~~~~~~~~~~~~~~~
             current_cpu_data
   cc1: some warnings being treated as errors


vim +303 arch/mips/bcm63xx/cpu.c

e7300d04bd0809 Maxime Bizon     2009-08-18  293  
e7300d04bd0809 Maxime Bizon     2009-08-18  294  void __init bcm63xx_cpu_init(void)
e7300d04bd0809 Maxime Bizon     2009-08-18  295  {
13be798c57ebe5 Jonas Gorski     2013-03-21  296  	unsigned int tmp;
2b5b9b786c177f Florian Fainelli 2009-10-14  297  	unsigned int cpu = smp_processor_id();
13be798c57ebe5 Jonas Gorski     2013-03-21  298  	u32 chipid_reg;
e7300d04bd0809 Maxime Bizon     2009-08-18  299  
e7300d04bd0809 Maxime Bizon     2009-08-18  300  	/* soc registers location depends on cpu type */
13be798c57ebe5 Jonas Gorski     2013-03-21  301  	chipid_reg = 0;
e7300d04bd0809 Maxime Bizon     2009-08-18  302  
d7b12056bc9cbd Wu Zhangjin      2010-12-26 @303  	switch (current_cpu_type()) {

:::::: The code at line 303 was first introduced by commit
:::::: d7b12056bc9cbd7f0c0ae5bc52f2b049d48c4314 MIPS: Use current_cpu_type() instead of c->cputype

:::::: TO: Wu Zhangjin <wuzhangjin@gmail.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>

--
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-07-13  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13  3:22 [tglx-devel:timers/cleanup 49/59] arch/mips/bcm63xx/cpu.c:303:10: error: implicit declaration of function 'current_cpu_type'; did you mean 'current_cpu_data'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.