public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [jfern:nova/mm-snapshot-2-4-2025 6/31] error[E0603]: module `clist` is private
@ 2026-02-06 11:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-06 11:13 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-02-06 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-06 11:13 [jfern:nova/mm-snapshot-2-4-2025 6/31] error[E0603]: module `clist` is private 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