All of lore.kernel.org
 help / color / mirror / Atom feed
* [gerg-m68knommu:dt 22/22] arch/m68k/coldfire/intc.c:184:18: error: implicit declaration of function 'irq_domain_add_linear'; did you mean 'irq_domain_create_linear'?
@ 2026-09-15  1:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-15  1:17 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:   b5ed8ca50661263352c1e60587539803de9bde6a
commit: b5ed8ca50661263352c1e60587539803de9bde6a [22/22] m68k: coldfire: enable devicetree use
config: m68k-m5249evb_defconfig (https://download.01.org/0day-ci/archive/20260915/202609150913.ChdI2e4L-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260915/202609150913.ChdI2e4L-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/202609150913.ChdI2e4L-lkp@intel.com/

All errors (new ones prefixed by >>):

   arch/m68k/coldfire/intc.c: In function 'intc_of_init':
>> arch/m68k/coldfire/intc.c:184:18: error: implicit declaration of function 'irq_domain_add_linear'; did you mean 'irq_domain_create_linear'? [-Wimplicit-function-declaration]
     184 |         domain = irq_domain_add_linear(np, MCFINT_VECNUM, &intc_irqdomain_ops, NULL);
         |                  ^~~~~~~~~~~~~~~~~~~~~
         |                  irq_domain_create_linear
>> arch/m68k/coldfire/intc.c:184:16: error: assignment to 'struct irq_domain *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     184 |         domain = irq_domain_add_linear(np, MCFINT_VECNUM, &intc_irqdomain_ops, NULL);
         |                ^


vim +184 arch/m68k/coldfire/intc.c

72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  177  
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  178  static int __init intc_of_init(struct device_node *np,
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  179  			       struct device_node *parent)
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  180  {
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  181  	struct irq_domain *domain;
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  182  	int irq;
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  183  
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26 @184  	domain = irq_domain_add_linear(np, MCFINT_VECNUM, &intc_irqdomain_ops, NULL);
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  185  
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  186  	for (irq = MCFINT_VECBASE; irq < MCFINT_VECNUM; irq++)
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  187  		irq_create_mapping(domain, irq);
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  188  
72d5ab320f508b arch/m68k/coldfire/intc.c               Greg Ungerer 2025-01-26  189  	return 0;
33a21263bf7417 arch/m68knommu/platform/coldfire/intc.c Greg Ungerer 2009-04-30  190  }
33a21263bf7417 arch/m68knommu/platform/coldfire/intc.c Greg Ungerer 2009-04-30  191  

:::::: The code at line 184 was first introduced by commit
:::::: 72d5ab320f508b94736a7ec536774898147a4cb9 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:[~2026-09-15  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-15  1:17 [gerg-m68knommu:dt 22/22] arch/m68k/coldfire/intc.c:184:18: error: implicit declaration of function 'irq_domain_add_linear'; did you mean 'irq_domain_create_linear'? 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.