All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Dmitry Ilvokhin <d@ilvokhin.com>
Subject: [tglx-devel:irq/proc 15/16] kernel/irq/irqdomain.c:647:28: error: use of undeclared identifier 'GOT_YOU_MORON'
Date: Sat, 16 May 2026 11:01:28 +0800	[thread overview]
Message-ID: <202605161011.z3NBI29G-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/proc
head:   5233c5982cba9a3a71013abef4ddce2835d3e493
commit: e58cc4735e7d227ad24307bbb3f9601ee67d44f5 [15/16] genirq/proc: Runtime size the chip name
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20260516/202605161011.z3NBI29G-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260516/202605161011.z3NBI29G-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/202605161011.z3NBI29G-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/irq/irqdomain.c:647:28: error: use of undeclared identifier 'GOT_YOU_MORON'
     647 |         irq_set_status_flags(irq, IRQ_NOREQUEST);
         |                                   ^
   kernel/irq/settings.h:29:24: note: expanded from macro 'IRQ_NOREQUEST'
      29 | #define IRQ_NOREQUEST           GOT_YOU_MORON
         |                                 ^
   kernel/irq/irqdomain.c:707:31: error: use of undeclared identifier 'GOT_YOU_MORON'
     707 |         irq_clear_status_flags(virq, IRQ_NOREQUEST);
         |                                      ^
   kernel/irq/settings.h:29:24: note: expanded from macro 'IRQ_NOREQUEST'
      29 | #define IRQ_NOREQUEST           GOT_YOU_MORON
         |                                 ^
   kernel/irq/irqdomain.c:1332:31: error: use of undeclared identifier 'GOT_YOU_MORON'
    1332 |         irq_clear_status_flags(virq, IRQ_NOREQUEST);
         |                                      ^
   kernel/irq/settings.h:29:24: note: expanded from macro 'IRQ_NOREQUEST'
      29 | #define IRQ_NOREQUEST           GOT_YOU_MORON
         |                                 ^
   kernel/irq/irqdomain.c:1339:29: error: use of undeclared identifier 'GOT_YOU_MORON'
    1339 |         irq_set_status_flags(virq, IRQ_NOREQUEST);
         |                                    ^
   kernel/irq/settings.h:29:24: note: expanded from macro 'IRQ_NOREQUEST'
      29 | #define IRQ_NOREQUEST           GOT_YOU_MORON
         |                                 ^
   4 errors generated.


vim +/GOT_YOU_MORON +647 kernel/irq/irqdomain.c

b526adfe1b0531fc David Daney     2017-08-17  633  
e906a546bd8653ed Thomas Gleixner 2020-11-14  634  static void irq_domain_disassociate(struct irq_domain *domain, unsigned int irq)
913af2070731bfc1 Grant Likely    2012-06-03  635  {
913af2070731bfc1 Grant Likely    2012-06-03  636  	struct irq_data *irq_data = irq_get_irq_data(irq);
275e31b10ce20613 Chen Gang       2013-05-14  637  	irq_hw_number_t hwirq;
913af2070731bfc1 Grant Likely    2012-06-03  638  
ddaf144c61da45ae Grant Likely    2013-06-10  639  	if (WARN(!irq_data || irq_data->domain != domain,
ddaf144c61da45ae Grant Likely    2013-06-10  640  		 "virq%i doesn't exist; cannot disassociate\n", irq))
ddaf144c61da45ae Grant Likely    2013-06-10  641  		return;
913af2070731bfc1 Grant Likely    2012-06-03  642  
275e31b10ce20613 Chen Gang       2013-05-14  643  	hwirq = irq_data->hwirq;
3f883c38f5628f46 Johan Hovold    2023-02-13  644  
9dbb8e3452aba34e Johan Hovold    2023-02-13  645  	mutex_lock(&domain->root->mutex);
3f883c38f5628f46 Johan Hovold    2023-02-13  646  
913af2070731bfc1 Grant Likely    2012-06-03 @647  	irq_set_status_flags(irq, IRQ_NOREQUEST);
913af2070731bfc1 Grant Likely    2012-06-03  648  
913af2070731bfc1 Grant Likely    2012-06-03  649  	/* remove chip and handler */
913af2070731bfc1 Grant Likely    2012-06-03  650  	irq_set_chip_and_handler(irq, NULL, NULL);
913af2070731bfc1 Grant Likely    2012-06-03  651  
913af2070731bfc1 Grant Likely    2012-06-03  652  	/* Make sure it's completed */
913af2070731bfc1 Grant Likely    2012-06-03  653  	synchronize_irq(irq);
913af2070731bfc1 Grant Likely    2012-06-03  654  
913af2070731bfc1 Grant Likely    2012-06-03  655  	/* Tell the PIC about it */
913af2070731bfc1 Grant Likely    2012-06-03  656  	if (domain->ops->unmap)
913af2070731bfc1 Grant Likely    2012-06-03  657  		domain->ops->unmap(domain, irq);
913af2070731bfc1 Grant Likely    2012-06-03  658  	smp_mb();
913af2070731bfc1 Grant Likely    2012-06-03  659  
913af2070731bfc1 Grant Likely    2012-06-03  660  	irq_data->domain = NULL;
913af2070731bfc1 Grant Likely    2012-06-03  661  	irq_data->hwirq = 0;
9dc6be3d419398ea Thomas Gleixner 2017-06-20  662  	domain->mapcount--;
913af2070731bfc1 Grant Likely    2012-06-03  663  
cef5075c8c238ffd Grant Likely    2012-07-11  664  	/* Clear reverse map for this hwirq */
b526adfe1b0531fc David Daney     2017-08-17  665  	irq_domain_clear_mapping(domain, hwirq);
3f883c38f5628f46 Johan Hovold    2023-02-13  666  
9dbb8e3452aba34e Johan Hovold    2023-02-13  667  	mutex_unlock(&domain->root->mutex);
913af2070731bfc1 Grant Likely    2012-06-03  668  }
913af2070731bfc1 Grant Likely    2012-06-03  669  

:::::: The code at line 647 was first introduced by commit
:::::: 913af2070731bfc1bd39bb35c5cd2fd66f5eff12 irqdomain: Split disassociating code into separate function

:::::: TO: Grant Likely <grant.likely@secretlab.ca>
:::::: CC: Grant Likely <grant.likely@secretlab.ca>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-05-16  3:02 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=202605161011.z3NBI29G-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=d@ilvokhin.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@kernel.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.