linux-m68k.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [gerg-m68knommu:dt 14/14] arch/m68k/coldfire/intc.c:173:34: error: 'MCFINT_VECBASE' undeclared
@ 2025-11-23  5:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-11-23  5:10 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 dt
head:   ff8a015c8f4aa08dfa1f340b404fed5057169958
commit: ff8a015c8f4aa08dfa1f340b404fed5057169958 [14/14] m68k: coldfire: enable devicetree use
config: m68k-m5307c3_defconfig (https://download.01.org/0day-ci/archive/20251123/202511231301.LeskMaF8-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251123/202511231301.LeskMaF8-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/202511231301.LeskMaF8-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/m68k/coldfire/intc.c: In function 'intc_of_init':
>> arch/m68k/coldfire/intc.c:173:34: error: 'MCFINT_VECBASE' undeclared (first use in this function)
     173 |         const unsigned int num = MCFINT_VECBASE + 64;
         |                                  ^~~~~~~~~~~~~~
   arch/m68k/coldfire/intc.c:173:34: note: each undeclared identifier is reported only once for each function it appears in


vim +/MCFINT_VECBASE +173 arch/m68k/coldfire/intc.c

ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  169  
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  170  static int __init intc_of_init(struct device_node *np,
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  171  			       struct device_node *parent)
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  172  {
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26 @173  	const unsigned int num = MCFINT_VECBASE + 64;
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  174  	struct irq_domain *domain;
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  175  	int irq;
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  176  
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  177  	domain = irq_domain_add_linear(np, num, &intc_irqdomain_ops, NULL);
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  178  
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  179  	for (irq = MCFINT_VECBASE; irq < num; irq++)
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  180  		irq_create_mapping(domain, irq);
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  181  
ca7473b8ecb6a4 arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  182  	return 0;
33a21263bf7417 arch/m68knommu/platform/coldfire/intc.c Greg Ungerer 2009-04-30  183  }
33a21263bf7417 arch/m68knommu/platform/coldfire/intc.c Greg Ungerer 2009-04-30  184  

:::::: The code at line 173 was first introduced by commit
:::::: ca7473b8ecb6a49496ed97c97363737c6ec4bf89 m68k: coldfire: support devicetree binding for intc controller

:::::: TO: Greg Ungerer <gerg@linux-m68k.org>
:::::: CC: Greg Ungerer <gerg@kernel.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:[~2025-11-23  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-23  5:10 [gerg-m68knommu:dt 14/14] arch/m68k/coldfire/intc.c:173:34: error: 'MCFINT_VECBASE' undeclared 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;
as well as URLs for NNTP newsgroup(s).