From: kernel test robot <lkp@intel.com>
To: Joel Fernandes <joelagnelf@nvidia.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
nouveau@lists.freedesktop.org, rust-for-linux@vger.kernel.org,
linux-pci@vger.kernel.org, dakr@kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
acourbot@nvidia.com, "Alistair Popple" <apopple@nvidia.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Boqun Feng" <boqun.feng@gmail.com>,
"Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"John Hubbard" <jhubbard@nvidia.com>,
"Joel Fernandes" <joelagnelf@nvidia.com>,
"Timur Tabi" <ttabi@nvidia.com>,
joel@joelfernandes.org,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Bjorn Helgaas" <helgaas@kernel.org>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>
Subject: Re: [PATCH] rust: pci: add PCI interrupt allocation and management support
Date: Fri, 12 Sep 2025 14:41:49 +0800 [thread overview]
Message-ID: <202509121404.668X5Vy6-lkp@intel.com> (raw)
In-Reply-To: <20250910035415.381753-1-joelagnelf@nvidia.com>
Hi Joel,
kernel test robot noticed the following build errors:
[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus drm-misc/drm-misc-next drm-tip/drm-tip linus/master v6.17-rc5]
[cannot apply to next-20250911]
[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/Joel-Fernandes/rust-pci-add-PCI-interrupt-allocation-and-management-support/20250910-115528
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20250910035415.381753-1-joelagnelf%40nvidia.com
patch subject: [PATCH] rust: pci: add PCI interrupt allocation and management support
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250912/202509121404.668X5Vy6-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250912/202509121404.668X5Vy6-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/202509121404.668X5Vy6-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0425]: cannot find value `dev` in this scope
--> rust/doctests_kernel_generated.rs:6968:13
|
6968 | let nvecs = dev.alloc_irq_vectors(1, 32, IrqTypes::all())?;
| ^^^ not found in this scope
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqTypes`
--> rust/doctests_kernel_generated.rs:6968:42
|
6968 | let nvecs = dev.alloc_irq_vectors(1, 32, IrqTypes::all())?;
| ^^^^^^^^ use of undeclared type `IrqTypes`
|
help: consider importing this struct
|
3 + use kernel::pci::IrqTypes;
|
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqTypes`
--> rust/doctests_kernel_generated.rs:6971:16
|
6971 | let msi_only = IrqTypes::default()
| ^^^^^^^^ use of undeclared type `IrqTypes`
|
help: consider importing this struct
|
3 + use kernel::pci::IrqTypes;
|
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqType`
--> rust/doctests_kernel_generated.rs:6972:11
|
6972 | .with(IrqType::Msi)
| ^^^^^^^ use of undeclared type `IrqType`
|
help: consider importing this enum
|
3 + use kernel::pci::IrqType;
|
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqType`
--> rust/doctests_kernel_generated.rs:6973:11
|
6973 | .with(IrqType::MsiX);
| ^^^^^^^ use of undeclared type `IrqType`
|
help: consider importing this enum
|
3 + use kernel::pci::IrqType;
|
--
>> error[E0425]: cannot find value `dev` in this scope
--> rust/doctests_kernel_generated.rs:6974:13
|
6974 | let nvecs = dev.alloc_irq_vectors(4, 16, msi_only)?;
| ^^^ not found in this scope
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqTypes`
--> rust/doctests_kernel_generated.rs:7025:16
|
7025 | let msi_only = IrqTypes::default()
| ^^^^^^^^ use of undeclared type `IrqTypes`
|
help: consider importing this struct
|
3 + use kernel::pci::IrqTypes;
|
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqType`
--> rust/doctests_kernel_generated.rs:7026:11
|
7026 | .with(IrqType::Msi)
| ^^^^^^^ use of undeclared type `IrqType`
|
help: consider importing this enum
|
3 + use kernel::pci::IrqType;
|
--
>> error[E0433]: failed to resolve: use of undeclared type `IrqType`
--> rust/doctests_kernel_generated.rs:7027:11
|
7027 | .with(IrqType::MsiX);
| ^^^^^^^ use of undeclared type `IrqType`
|
help: consider importing this enum
|
3 + use kernel::pci::IrqType;
|
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-09-12 6:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-10 3:54 [PATCH] rust: pci: add PCI interrupt allocation and management support Joel Fernandes
2025-09-10 8:47 ` Danilo Krummrich
2025-09-10 18:09 ` Joel Fernandes
2025-09-10 19:02 ` Joel Fernandes
2025-09-15 9:48 ` Danilo Krummrich
2025-09-17 11:09 ` Joel Fernandes
2025-09-12 6:41 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202509121404.668X5Vy6-lkp@intel.com \
--to=lkp@intel.com \
--cc=a.hindborg@kernel.org \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=apopple@nvidia.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=dakr@kernel.org \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=helgaas@kernel.org \
--cc=jhubbard@nvidia.com \
--cc=joel@joelfernandes.org \
--cc=joelagnelf@nvidia.com \
--cc=kwilczynski@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lossin@kernel.org \
--cc=nouveau@lists.freedesktop.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=tmgross@umich.edu \
--cc=ttabi@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox