All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
To: kernel test robot <lkp@intel.com>, Paul Louvel <paul.louvel@bootlin.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [linux-next:master 11035/13093] drivers/soc/fsl/qe/gpio.c:176: undefined reference to `of_irq_parse_raw'
Date: Fri, 7 Aug 2026 06:57:18 +0200	[thread overview]
Message-ID: <b887cec6-52db-499e-aae4-024d338d7a19@kernel.org> (raw)
In-Reply-To: <202608060954.ymFeQSY6-lkp@intel.com>



Le 06/08/2026 à 03:27, kernel test robot a écrit :
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   1701fda2f58e345c050f4309971bdc07cd6146ba
> commit: e75fcf32f93ef32cd020a63ffc1808303655a43b [11035/13093] soc: fsl: qe: Add support of IRQs in QE GPIO
> config: sparc64-randconfig-002-20260806 (https://download.01.org/0day-ci/archive/20260806/202608060954.ymFeQSY6-lkp@intel.com/config)
> compiler: sparc64-linux-gcc (GCC) 8.5.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260806/202608060954.ymFeQSY6-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/202608060954.ymFeQSY6-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>     sparc64-linux-ld: drivers/soc/fsl/qe/gpio.o: in function `qe_gpio_to_irq':
>>> drivers/soc/fsl/qe/gpio.c:176: undefined reference to `of_irq_parse_raw'

The patch is missing a dependency on CONFIG_OF_IRQ.

config OF_IRQ
	def_bool y
	depends on !SPARC && IRQ_DOMAIN

But adding dependency on OF_IRQ leads to

error: recursive dependency detected!
	symbol GPIOLIB is selected by QE_GPIO
	symbol QE_GPIO depends on OF_IRQ
	symbol OF_IRQ depends on IRQ_DOMAIN
	symbol IRQ_DOMAIN is selected by GENERIC_IRQ_CHIP
	symbol GENERIC_IRQ_CHIP is selected by GPIO_MVEBU
	symbol GPIO_MVEBU depends on GPIOLIB

As QE_GPIO selects GENERIC_IRQ_CHIP, IRQ_DOMAIN is automatically 
selected so the dependency is only on !SPARC

I will fixup the commit.

Thanks
Christophe


      reply	other threads:[~2026-08-07  4:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-06  1:27 [linux-next:master 11035/13093] drivers/soc/fsl/qe/gpio.c:176: undefined reference to `of_irq_parse_raw' kernel test robot
2026-08-07  4:57 ` Christophe Leroy (CS GROUP) [this message]

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=b887cec6-52db-499e-aae4-024d338d7a19@kernel.org \
    --to=chleroy@kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=paul.louvel@bootlin.com \
    /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.