From: kernel test robot <lkp@intel.com>
To: Joel Fernandes <joelagnelf@nvidia.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [jfern:nova/mm-snapshot-2-4-2025 6/31] error[E0603]: module `clist` is private
Date: Fri, 06 Feb 2026 19:13:01 +0800 [thread overview]
Message-ID: <202602061927.NHxEdwh1-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jfern/linux.git nova/mm-snapshot-2-4-2025
head: db8da9f88880a9d0a5053cb4b0276dab7df3f003
commit: 2314b867ecdc547cea44919b4c179bd1479b9208 [6/31] gpu: Move DRM buddy allocator one level up
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260206/202602061927.NHxEdwh1-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/20260206/202602061927.NHxEdwh1-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/202602061927.NHxEdwh1-lkp@intel.com/
All errors (new ones prefixed by >>):
>> error[E0603]: module `clist` is private
--> rust/kernel/clist.rs:313:17
|
313 | $crate::clist::CList::<$rust_type, OFFSET>::from_raw($head)
| ^^^^^ private module
|
::: rust/doctests_kernel_generated.rs:3700:21
|
3700 | let list = unsafe { clist_create!(head, Item, SampleItemC, link) };
| -------------------------------------------- struct `CList` is not publicly re-exported
|
note: the module `clist` is defined here
--> rust/kernel/lib.rs:79:1
|
79 | pub(crate) mod clist;
| ^^^^^^^^^^^^^^^^^^^^
--
>> error[E0624]: associated function `from_raw` is private
--> rust/doctests_kernel_generated.rs:3700:21
|
3700 | let list = unsafe { clist_create!(head, Item, SampleItemC, link) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private associated function
|
::: rust/kernel/clist.rs:231:5
|
231 | pub(crate) unsafe fn from_raw<'a>(ptr: *mut bindings::list_head) -> &'a Self {
| ---------------------------------------------------------------------------- private associated function defined here
|
= note: this error originates in the macro `clist_create` (in Nightly builds, run with -Z macro-backtrace for more info)
--
>> error[E0624]: method `iter` is private
--> rust/doctests_kernel_generated.rs:3707:18
|
3707 | for item in list.iter() {
| ^^^^ private method
|
::: rust/kernel/clist.rs:247:5
|
247 | pub(crate) fn iter(&self) -> CListIter<'_, T, OFFSET> {
| ----------------------------------------------------- private method defined here
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-02-06 11:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202602061927.NHxEdwh1-lkp@intel.com \
--to=lkp@intel.com \
--cc=joelagnelf@nvidia.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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