Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [linux-next:master 4098/19853] warning: associated function `from_raw` is never used
@ 2026-10-24  3:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-24  3:10 UTC (permalink / raw)
  To: Joel Fernandes; +Cc: llvm, oe-kbuild-all, Eliot Courtney, Alexandre Courbot

Hi Joel,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   bd1ecbb61afefc6a8b876ccbc31e9228b44e9eab
commit: 3f1e12fce16f6e88fbaab3404df33f65c8f4df87 [4098/19853] rust: pci: add resource_flags accessor
config: x86_64-buildonly-randconfig-1005-20261024 (https://download.01.org/0day-ci/archive/20261024/202610241133.L9VWoFcD-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261024/202610241133.L9VWoFcD-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/202610241133.L9VWoFcD-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> warning: associated function `from_raw` is never used
   --> rust/kernel/io/resource.rs:240:25
   |
   216 | impl Flags {
   | ---------- associated function in this implementation
   ...
   240 |     pub(crate) const fn from_raw(value: c_ulong) -> Self {
   |                         ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
--
   llvm-nm: error: rust/helpers/helpers.o: No such file or directory
>> warning: associated function `from_raw` is never used
   --> rust/kernel/io/resource.rs:240:25
   |
   216 | impl Flags {
   | ---------- associated function in this implementation
   ...
   240 |     pub(crate) const fn from_raw(value: c_ulong) -> Self {
   |                         ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

--
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-10-24  3:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24  3:10 [linux-next:master 4098/19853] warning: associated function `from_raw` is never used 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