Re: [PATCH v2 7/8] firmware: smccc: lfa: Register DT interrupt

From: kernel test robot

Date: Wed Mar 18 2026 - 10:24:38 EST


Hi Andre,

kernel test robot noticed the following build errors:

[auto build test ERROR on robh/for-next]
[also build test ERROR on arm/for-next arm/fixes arm64/for-next/core clk/clk-next kvmarm/next rockchip/for-next shawnguo/for-next soc/for-next linus/master nferre-at91/at91-next v7.0-rc4 next-20260317]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Andre-Przywara/dt-bindings-arm-Add-Live-Firmware-Activation-binding/20260318-082717
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20260317103336.1273582-8-andre.przywara%40arm.com
patch subject: [PATCH v2 7/8] firmware: smccc: lfa: Register DT interrupt
config: arm64-randconfig-003-20260318 (https://download.01.org/0day-ci/archive/20260318/202603182205.TOBMcP5F-lkp@xxxxxxxxx/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 4abb927bacf37f18f6359a41639a6d1b3bffffb5)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260318/202603182205.TOBMcP5F-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202603182205.TOBMcP5F-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/firmware/smccc/lfa_fw.c:878:9: error: call to undeclared function 'devm_request_threaded_irq'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
878 | return devm_request_threaded_irq(dev, irq, lfa_irq_handler,
| ^
>> drivers/firmware/smccc/lfa_fw.c:880:7: error: use of undeclared identifier 'IRQF_COND_ONESHOT'
880 | IRQF_COND_ONESHOT, NULL, NULL);
| ^~~~~~~~~~~~~~~~~
2 errors generated.


vim +/devm_request_threaded_irq +878 drivers/firmware/smccc/lfa_fw.c

863
864 static int lfa_register_dt(struct device *dev)
865 {
866 struct device_node *np;
867 unsigned int irq;
868
869 np = of_find_compatible_node(NULL, NULL, "arm,lfa");
870 if (!np)
871 return -ENODEV;
872
873 irq = irq_of_parse_and_map(np, 0);
874 of_node_put(np);
875 if (!irq)
876 return -ENODEV;
877
> 878 return devm_request_threaded_irq(dev, irq, lfa_irq_handler,
879 lfa_irq_handler_thread,
> 880 IRQF_COND_ONESHOT, NULL, NULL);
881 }
882

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