* [dakr:nova/irq 17/33] rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations
@ 2026-08-17 15:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-17 15:27 UTC (permalink / raw)
Cc: oe-kbuild-all, llvm
TO: Danilo Krummrich <dakr@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dakr/linux.git nova/irq
head: 63c0231684920d3d7e0141796b199ba5de8f2ecc
commit: b511b9e0001c87ee7f7e478b1e7064a6b08536bc [17/33] rust: pci: expose the allocated interrupt type
config: um-randconfig-001-20260817 (https://download.01.org/0day-ci/archive/20260817/202608172313.aWAREqgm-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 844a18e753e822736c9805ab779144b647a2c186)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260817/202608172313.aWAREqgm-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/202608172313.aWAREqgm-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from rust/helpers/helpers.c:77:
>> rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | return pci_irq_type(pdev);
| ^
rust/helpers/pci.c:37:9: note: did you mean 'pci_pcie_type'?
include/linux/pci.h:2703:19: note: 'pci_pcie_type' declared here
2703 | static inline int pci_pcie_type(const struct pci_dev *dev)
| ^
1 error generated.
make[3]: *** [rust/Makefile:701: rust/helpers/helpers.o] Error 1 shuffle=2223888588
>> rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>> Unable to generate bindings: clang diagnosed error: rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
vim +/pci_irq_type +37 rust/helpers/pci.c
34
35 __rust_helper unsigned int rust_helper_pci_irq_type(struct pci_dev *pdev)
36 {
> 37 return pci_irq_type(pdev);
38 }
39
--
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-08-17 15:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-17 15:27 [dakr:nova/irq 17/33] rust/helpers/pci.c:37:9: error: call to undeclared function 'pci_irq_type'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox