All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:irq/core 26/53] kernel/irq/chip.c:1160:46: error: expected ')'
Date: Wed, 12 Mar 2025 21:05:05 +0800	[thread overview]
Message-ID: <202503122032.WuoV43mt-lkp@intel.com> (raw)

Hi Thomas,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git irq/core
head:   369c4f7fd7564a8952129a147cacf88cb4697c79
commit: 51edc4f39fa21403ccdc03ba52f323ce6a7e3cd4 [26/53] genirq/chip: Rework handle_fasteoi_ack_irq()
config: x86_64-buildonly-randconfig-001-20250312 (https://download.01.org/0day-ci/archive/20250312/202503122032.WuoV43mt-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250312/202503122032.WuoV43mt-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/202503122032.WuoV43mt-lkp@intel.com/

All errors (new ones prefixed by >>):

>> kernel/irq/chip.c:1160:46: error: expected ')'
    1160 |         if (unlikely(!irq_can_handle_actions(desc)) {
         |                                                     ^
   kernel/irq/chip.c:1160:5: note: to match this '('
    1160 |         if (unlikely(!irq_can_handle_actions(desc)) {
         |            ^
   1 error generated.


vim +1160 kernel/irq/chip.c

  1138	
  1139	#ifdef CONFIG_IRQ_FASTEOI_HIERARCHY_HANDLERS
  1140	/**
  1141	 * handle_fasteoi_ack_irq - irq handler for edge hierarchy stacked on
  1142	 *			    transparent controllers
  1143	 *
  1144	 * @desc:	the interrupt description structure for this irq
  1145	 *
  1146	 * Like handle_fasteoi_irq(), but for use with hierarchy where the irq_chip
  1147	 * also needs to have its ->irq_ack() function called.
  1148	 */
  1149	void handle_fasteoi_ack_irq(struct irq_desc *desc)
  1150	{
  1151		struct irq_chip *chip = desc->irq_data.chip;
  1152	
  1153		guard(raw_spinlock)(&desc->lock);
  1154	
  1155		if (!irq_can_handle_pm(desc)) {
  1156			cond_eoi_irq(chip, &desc->irq_data);
  1157			return;
  1158		}
  1159	
> 1160		if (unlikely(!irq_can_handle_actions(desc)) {
  1161			mask_irq(desc);
  1162			cond_eoi_irq(chip, &desc->irq_data);
  1163			return;
  1164		}
  1165	
  1166		kstat_incr_irqs_this_cpu(desc);
  1167		if (desc->istate & IRQS_ONESHOT)
  1168			mask_irq(desc);
  1169	
  1170		desc->irq_data.chip->irq_ack(&desc->irq_data);
  1171	
  1172		handle_irq_event(desc);
  1173	
  1174		cond_unmask_eoi_irq(desc, chip);
  1175	}
  1176	EXPORT_SYMBOL_GPL(handle_fasteoi_ack_irq);
  1177	

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

                 reply	other threads:[~2025-03-12 13:05 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=202503122032.WuoV43mt-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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.