From: kernel test robot <lkp@intel.com>
To: Kari Argillander <kari.argillander@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH RFC 5/6] rust: debugfs: WIP: Use owner for file_operations
Date: Thu, 1 Jan 2026 17:06:54 +0100 [thread overview]
Message-ID: <202601011701.WuRTPROc-lkp@intel.com> (raw)
In-Reply-To: <20260101-this_module_fix-v1-5-46ae3e5605a0@gmail.com>
Hi Kari,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on cc3aa43b44bdb43dfbac0fcb51c56594a11338a8]
url: https://github.com/intel-lab-lkp/linux/commits/Kari-Argillander/rust-Enable-const_refs_to_static-feature/20260101-172411
base: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8
patch link: https://lore.kernel.org/r/20260101-this_module_fix-v1-5-46ae3e5605a0%40gmail.com
patch subject: [PATCH RFC 5/6] rust: debugfs: WIP: Use owner for file_operations
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20260101/202601011701.WuRTPROc-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/20260101/202601011701.WuRTPROc-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/202601011701.WuRTPROc-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: method `create_file` is never used
--> rust/kernel/debugfs.rs:522:8
|
508 | impl<'data, 'dir> ScopedDir<'data, 'dir> {
| ---------------------------------------- method in this implementation
...
522 | fn create_file<T: Sync>(&self, name: &CStr, data: &'data T, vtable: &'static FileOps<T>) {
| ^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
--
>> warning: associated function `file` is never used
--> rust/kernel/debugfs/entry.rs:103:19
|
83 | impl<'a> Entry<'a> {
| ------------------ associated function in this implementation
...
103 | pub(crate) fn file<T>(
| ^^^^
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-01 16:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-01 5:20 [PATCH RFC 0/6] rust: Reimplement ThisModule to fix ownership problems Kari Argillander
2026-01-01 5:20 ` [PATCH RFC 1/6] rust: Enable const_refs_to_static feature Kari Argillander
2026-01-01 5:20 ` [PATCH RFC 2/6] rust: WIP: Introduce ThisModule trait and THIS_MODULE impl Kari Argillander
2026-01-01 5:20 ` [PATCH RFC 3/6] rust: WIP: use ThisModule trait for initializing Kari Argillander
2026-01-01 15:36 ` kernel test robot
2026-01-01 5:20 ` [PATCH RFC 4/6] rust: WIP: use ThisModule trait to fix some missing owners Kari Argillander
2026-01-01 5:20 ` [PATCH RFC 5/6] rust: debugfs: WIP: Use owner for file_operations Kari Argillander
2026-01-01 16:06 ` kernel test robot [this message]
2026-01-01 5:20 ` [PATCH RFC 6/6] rust: WIP: Replace ModuleMetadata with THIS_MODULE Kari Argillander
2026-01-01 16:35 ` kernel test robot
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=202601011701.WuRTPROc-lkp@intel.com \
--to=lkp@intel.com \
--cc=kari.argillander@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.