All of lore.kernel.org
 help / color / mirror / Atom feed
* [tglx-devel:irq/core 26/53] kernel/irq/chip.c:1160:46: error: expected ')'
@ 2025-03-12 13:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-03-12 13:05 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-03-12 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-12 13:05 [tglx-devel:irq/core 26/53] kernel/irq/chip.c:1160:46: error: expected ')' 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.