All of lore.kernel.org
 help / color / mirror / Atom feed
* [lpieralisi:dev/acpi-static-table-gsi-deferral 8/13] drivers/acpi/arm64/mpam.c:85:41: error: use of undeclared identifier 'trigger'
@ 2026-09-11  8:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-11  8:33 UTC (permalink / raw)
  To: Lorenzo Pieralisi; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git dev/acpi-static-table-gsi-deferral
head:   57e5c004a108c62e38be743a8e66e3cae00ca521
commit: d4991c69f1ad2064dbc46273adf6b3774e36c482 [8/13] ACPI: ARM64: Convert static table devices to IRQs software-node properties
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20260911/202609111653.cAnJmuyt-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 96295a1412f9afbee9d4a3c2701e83f5a529a9cc)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260911/202609111653.cAnJmuyt-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/202609111653.cAnJmuyt-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/acpi/arm64/mpam.c:85:41: error: use of undeclared identifier 'trigger'
      85 |         if (acpi_mpam_irq_valid(intid, flags, &trigger[irq_count])) {
         |                                                ^~~~~~~
   drivers/acpi/arm64/mpam.c:93:41: error: use of undeclared identifier 'trigger'
      93 |         if (acpi_mpam_irq_valid(intid, flags, &trigger[irq_count])) {
         |                                                ^~~~~~~
   drivers/acpi/arm64/mpam.c:105:13: error: use of undeclared identifier 'trigger'
     105 |                                                              trigger, irq_count);
         |                                                              ^~~~~~~
   3 errors generated.


vim +/trigger +85 drivers/acpi/arm64/mpam.c

    70	
    71	static void acpi_mpam_add_irq_props(struct acpi_mpam_msc_node *tbl_msc,
    72					    struct property_entry *props,
    73					    int *next_prop)
    74	{
    75		static const char * const irq_names[] = { "overflow", "error" };
    76		u32 gsi[ARRAY_SIZE(irq_names)];
    77		u32 triggering[ARRAY_SIZE(irq_names)];
    78		u32 polarity[ARRAY_SIZE(irq_names)];
    79		const char *names[ARRAY_SIZE(irq_names)];
    80		u32 flags, intid;
    81		int irq_count = 0;
    82	
    83		intid = tbl_msc->overflow_interrupt;
    84		flags = tbl_msc->overflow_interrupt_flags;
  > 85		if (acpi_mpam_irq_valid(intid, flags, &trigger[irq_count])) {
    86			gsi[irq_count] = intid;
    87			polarity[irq_count] = ACPI_ACTIVE_HIGH;
    88			names[irq_count++] = irq_names[0];
    89		}
    90	
    91		intid = tbl_msc->error_interrupt;
    92		flags = tbl_msc->error_interrupt_flags;
    93		if (acpi_mpam_irq_valid(intid, flags, &trigger[irq_count])) {
    94			gsi[irq_count] = intid;
    95			polarity[irq_count] = ACPI_ACTIVE_HIGH;
    96			names[irq_count++] = irq_names[1];
    97		}
    98	
    99		if (!irq_count)
   100			return;
   101	
   102		props[(*next_prop)++] = PROPERTY_ENTRY_U32_ARRAY_LEN(ACPI_IRQ_PROP_GSI,
   103								     gsi, irq_count);
   104		props[(*next_prop)++] = PROPERTY_ENTRY_U32_ARRAY_LEN(ACPI_IRQ_PROP_GSI_TRIGGER,
   105								     trigger, irq_count);
   106		props[(*next_prop)++] = PROPERTY_ENTRY_U32_ARRAY_LEN(ACPI_IRQ_PROP_GSI_POLARITY,
   107								     polarity, irq_count);
   108		props[(*next_prop)++] = PROPERTY_ENTRY_STRING_ARRAY_LEN("interrupt-names",
   109									names, irq_count);
   110	}
   111	

--
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:[~2026-09-11  8:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11  8:33 [lpieralisi:dev/acpi-static-table-gsi-deferral 8/13] drivers/acpi/arm64/mpam.c:85:41: error: use of undeclared identifier 'trigger' 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.