All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Greg Ungerer <gerg@linux-m68k.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-m68k@lists.linux-m68k.org,
	uclinux-dev@uclinux.org
Subject: [gerg-m68knommu:dt 22/22] arch/m68k/coldfire/intc-simr.c:233:18: error: implicit declaration of function 'irq_domain_add_linear'; did you mean 'irq_domain_create_linear'?
Date: Tue, 08 Sep 2026 09:19:08 +0800	[thread overview]
Message-ID: <202609080948.oRYfaows-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu.git dt
head:   693a23411a4e7b5d417226fe704ee36b32700bad
commit: 693a23411a4e7b5d417226fe704ee36b32700bad [22/22] m68k: coldfire: enable devicetree use
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20260908/202609080948.oRYfaows-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/20260908/202609080948.oRYfaows-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/202609080948.oRYfaows-lkp@intel.com/

All errors (new ones prefixed by >>):

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


vim +233 arch/m68k/coldfire/intc-simr.c

8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  225  
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  226  static int __init intc_of_init(struct device_node *np,
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  227  			       struct device_node *parent)
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  228  {
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  229  	const unsigned int num = MCFINT_VECBASE + 64 + (MCFINTC1_ICR0 ? 64 : 0) + (MCFINTC2_ICR0 ? 64 : 0);
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  230  	struct irq_domain *domain;
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  231  	int irq;
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  232  
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26 @233  	domain = irq_domain_add_linear(np, num, &intc_irqdomain_ops, NULL);
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  234  
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  235  	for (irq = MCFINT_VECBASE; irq < num; irq++)
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  236  		irq_create_mapping(domain, irq);
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  237  
8af562116a97dd arch/m68k/coldfire/intc-simr.c               Greg Ungerer 2025-01-26  238  	return 0;
cd3dd4068db5e1 arch/m68knommu/platform/coldfire/intc-simr.c Greg Ungerer 2009-04-27  239  }
cd3dd4068db5e1 arch/m68knommu/platform/coldfire/intc-simr.c Greg Ungerer 2009-04-27  240  

:::::: The code at line 233 was first introduced by commit
:::::: 8af562116a97ddd0966248dcde21b9123a86226c m68k: coldfire: support devicetree binding for intc-simr

:::::: 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

                 reply	other threads:[~2026-09-08  1:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202609080948.oRYfaows-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=gerg@linux-m68k.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=uclinux-dev@uclinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.