Re: [PATCH v4 6/6] rust: pci: add irq accessors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel,

kernel test robot noticed the following build errors:

[auto build test ERROR on e271ed52b344ac02d4581286961d0c40acc54c03]

url:    https://github.com/intel-lab-lkp/linux/commits/Daniel-Almeida/rust-irq-add-irq-module/20250609-065947
base:   e271ed52b344ac02d4581286961d0c40acc54c03
patch link:    https://lore.kernel.org/r/20250608-topics-tyr-request_irq-v4-6-81cb81fb8073%40collabora.com
patch subject: [PATCH v4 6/6] rust: pci: add irq accessors
config: x86_64-randconfig-005-20250610 (https://download.01.org/0day-ci/archive/20250610/202506100619.ZG8fk4Yz-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250610/202506100619.ZG8fk4Yz-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/202506100619.ZG8fk4Yz-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   ***
   *** Rust bindings generator 'bindgen' < 0.69.5 together with libclang >= 19.1
   *** may not work due to a bug (https://github.com/rust-lang/rust-bindgen/pull/2824),
   *** unless patched (like Debian's).
   ***   Your bindgen version:  0.65.1
   ***   Your libclang version: 20.1.2
   ***
   ***
   *** Please see Documentation/rust/quick-start.rst for details
   *** on how to set up the Rust support.
   ***
>> error[E0425]: cannot find function `pci_irq_vector` in crate `crate::bindings`
   --> rust/kernel/pci.rs:409:49
   |
   409 |               let irq = unsafe { crate::bindings::pci_irq_vector(self.as_raw(), index) };
   |                                                   ^^^^^^^^^^^^^^ not found in `crate::bindings`
   ...
   443 | /     gen_irq_accessor!(
   444 | |         /// Returns a [`kernel::irq::Registration`] for the IRQ vector at the given index.
   445 | |         irq_by_index, Registration, Handler
   446 | |     );
   | |_____- in this macro invocation
   |
   = note: this error originates in the macro `gen_irq_accessor` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0425]: cannot find function `pci_irq_vector` in crate `crate::bindings`
   --> rust/kernel/pci.rs:409:49
   |
   409 |               let irq = unsafe { crate::bindings::pci_irq_vector(self.as_raw(), index) };
   |                                                   ^^^^^^^^^^^^^^ not found in `crate::bindings`
   ...
   447 | /     gen_irq_accessor!(
   448 | |         /// Returns a [`kernel::irq::ThreadedRegistration`] for the IRQ vector at the given index.
   449 | |         threaded_irq_by_index, ThreadedRegistration, ThreadedHandler
   450 | |     );
   | |_____- in this macro invocation
   |
   = note: this error originates in the macro `gen_irq_accessor` (in Nightly builds, run with -Z macro-backtrace for more info)

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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux