Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] rust: irq: add support for request_irq()
       [not found] <20241024-topic-panthor-rs-request_irq-v1-1-7cbc51c182ca@collabora.com>
@ 2024-10-27  5:30 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-27  5:30 UTC (permalink / raw)
  To: Daniel Almeida, Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross
  Cc: llvm, oe-kbuild-all, linux-kernel, rust-for-linux, Daniel Almeida

Hi Daniel,

kernel test robot noticed the following build errors:

[auto build test ERROR on 33c255312660653cf54f8019896b5dca28e3c580]

url:    https://github.com/intel-lab-lkp/linux/commits/Daniel-Almeida/rust-irq-add-support-for-request_irq/20241024-222633
base:   33c255312660653cf54f8019896b5dca28e3c580
patch link:    https://lore.kernel.org/r/20241024-topic-panthor-rs-request_irq-v1-1-7cbc51c182ca%40collabora.com
patch subject: [PATCH] rust: irq: add support for request_irq()
config: riscv-randconfig-001-20241027 (https://download.01.org/0day-ci/archive/20241027/202410271331.Kh0GAuXf-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241027/202410271331.Kh0GAuXf-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/202410271331.Kh0GAuXf-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0432]: unresolved import `kernel::irq::Registration`
   --> rust/doctests_kernel_generated.rs:1837:5
   |
   1837 | use kernel::irq::Registration;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Registration` in `irq`
   |
   help: consider importing one of these items instead
   |
   1837 | use kernel::irq::request::Registration;
   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1837 | use kernel::net::phy::Registration;
   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> error[E0432]: unresolved import `kernel::sync::lock::SpinLock`
   --> rust/doctests_kernel_generated.rs:1839:5
   |
   1839 | use kernel::sync::lock::SpinLock;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SpinLock` in `sync::lock`
   |
   help: a similar name exists in the module
   |
   1839 | use kernel::sync::lock::spinlock;
   |                         ~~~~~~~~
   help: consider importing this type alias instead
   |
   1839 | use kernel::sync::SpinLock;
   |     ~~~~~~~~~~~~~~~~~~~~~~
--
>> error[E0412]: cannot find type `ThreadedIrqReturn` in module `irq`
   --> rust/doctests_kernel_generated.rs:1955:34
   |
   1955 |     fn handle_irq(&self) -> irq::ThreadedIrqReturn {
   |                                  ^^^^^^^^^^^^^^^^^ not found in `irq`
   |
   help: consider importing this enum
   |
   3    + use kernel::irq::request::ThreadedIrqReturn;
   |
   help: if you import `ThreadedIrqReturn`, refer to it directly
   |
   1955 -     fn handle_irq(&self) -> irq::ThreadedIrqReturn {
   1955 +     fn handle_irq(&self) -> ThreadedIrqReturn {
   |
--
>> error[E0433]: failed to resolve: use of undeclared type `ThreadedIrqReturn`
   --> rust/doctests_kernel_generated.rs:1963:9
   |
   1963 |         ThreadedIrqReturn::WakeThread
   |         ^^^^^^^^^^^^^^^^^ use of undeclared type `ThreadedIrqReturn`
   |
   help: consider importing this enum
   |
   3    + use kernel::irq::request::ThreadedIrqReturn;
   |
--
>> error[E0412]: cannot find type `ThreadedFnReturn` in module `irq`
   --> rust/doctests_kernel_generated.rs:1968:33
   |
   1968 |     fn thread_fn(&self) -> irq::ThreadedFnReturn {
   |                                 ^^^^^^^^^^^^^^^^ not found in `irq`
   |
   help: consider importing this enum
   |
   3    + use kernel::irq::request::ThreadedFnReturn;
   |
   help: if you import `ThreadedFnReturn`, refer to it directly
   |
   1968 -     fn thread_fn(&self) -> irq::ThreadedFnReturn {
   1968 +     fn thread_fn(&self) -> ThreadedFnReturn {
   |
--
>> error[E0412]: cannot find type `Registration` in module `irq`
   --> rust/doctests_kernel_generated.rs:1975:64
   |
   1975 |     fn register_irq(irq: u32, handler: Handler) -> Result<irq::Registration<Handler>> {
   |                                                                ^^^^^^^^^^^^ not found in `irq`
   |
   help: consider importing one of these items
   |
   3    + use kernel::irq::request::Registration;
   |
   3    + use kernel::net::phy::Registration;
   |
   help: if you import `Registration`, refer to it directly
   |
   1975 -     fn register_irq(irq: u32, handler: Handler) -> Result<irq::Registration<Handler>> {
   1975 +     fn register_irq(irq: u32, handler: Handler) -> Result<Registration<Handler>> {
   |
--
>> error[E0433]: failed to resolve: use of undeclared type `ThreadedRegistration`
   --> rust/doctests_kernel_generated.rs:1976:28
   |
   1976 |         let registration = ThreadedRegistration::register(irq, irq::flags::SHARED, "my-device", handler)?;
   |                            ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `ThreadedRegistration`
   |
   help: consider importing this struct
   |
   3    + use kernel::irq::request::ThreadedRegistration;
   |
--
>> error[E0433]: failed to resolve: could not find `flags` in `irq`
   --> rust/doctests_kernel_generated.rs:1976:69
   |
   1976 |         let registration = ThreadedRegistration::register(irq, irq::flags::SHARED, "my-device", handler)?;
   |                                                                     ^^^^^ could not find `flags` in `irq`
   |
   help: consider importing this module
   |
   3    + use kernel::irq::request::flags;
   |
   help: if you import `flags`, refer to it directly
   |
   1976 -         let registration = ThreadedRegistration::register(irq, irq::flags::SHARED, "my-device", handler)?;
   1976 +         let registration = ThreadedRegistration::register(irq, flags::SHARED, "my-device", handler)?;
   |
--
>> error[E0432]: unresolved import `kernel::irq::Registration`
   --> rust/doctests_kernel_generated.rs:1934:5
   |
   1934 | use kernel::irq::Registration;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `Registration` in `irq`
   |
   help: consider importing one of these items instead
   |
   1934 | use kernel::irq::request::Registration;
   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   1934 | use kernel::net::phy::Registration;
   |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> error[E0432]: unresolved import `kernel::sync::lock::SpinLock`
   --> rust/doctests_kernel_generated.rs:1936:5
   |
   1936 | use kernel::sync::lock::SpinLock;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `SpinLock` in `sync::lock`
   |
   help: a similar name exists in the module
   |
   1936 | use kernel::sync::lock::spinlock;
   |                         ~~~~~~~~
   help: consider importing this type alias instead
   |
   1936 | use kernel::sync::SpinLock;
   |     ~~~~~~~~~~~~~~~~~~~~~~
--
>> error[E0405]: cannot find trait `Handler` in module `kernel::irq`
   --> rust/doctests_kernel_generated.rs:1855:19
   |
   1855 | impl kernel::irq::Handler for Handler {
   |                   ^^^^^^^ not found in `kernel::irq`
   |
   help: consider importing this trait
   |
   3    + use kernel::irq::request::Handler;
   |
   help: if you import `Handler`, refer to it directly
   |
   1855 - impl kernel::irq::Handler for Handler {
   1855 + impl Handler for Handler {
   |
..

-- 
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:[~2024-10-27  5:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20241024-topic-panthor-rs-request_irq-v1-1-7cbc51c182ca@collabora.com>
2024-10-27  5:30 ` [PATCH] rust: irq: add support for request_irq() 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