* Re: [PATCH v4 2/2] rust: time: add KUnit tests for Instant Delta clamping
[not found] <20261204092910.253781-1-yusq77@gmail.com>
@ 2026-12-05 9:55 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-05 9:55 UTC (permalink / raw)
To: Franklin-Qi, Andreas Hindborg, Lyude Paul, Miguel Ojeda,
Alice Ryhl
Cc: llvm, oe-kbuild-all, FUJITA Tomonori, Boqun Feng,
Danilo Krummrich, rust-for-linux, Thomas Gleixner, John Stultz,
Stephen Boyd, Frederic Weisbecker, Anna-Maria Behnsen,
Georgios Androutsopoulos, stable, Franklin-Qi
Hi Franklin-Qi,
kernel test robot noticed the following build warnings:
[auto build test WARNING on rust/timekeeping-next]
[also build test WARNING on next-20261203]
[cannot apply to ah-configfs/configfs-next rust/rust-next linus/master v7.4-rc5]
[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/Franklin-Qi/rust-time-keep-Instant-invariant-when-adding-subtracting-Delta/20261204-172843
base: https://github.com/Rust-for-Linux/linux timekeeping-next
patch link: https://lore.kernel.org/r/20261204092910.253781-1-yusq77%40gmail.com
patch subject: [PATCH v4 2/2] rust: time: add KUnit tests for Instant Delta clamping
config: um-allmodconfig (https://download.01.org/0day-ci/archive/20261205/20261205123820.8Vmtiora-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261205/20261205123820.8Vmtiora-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/20261205123820.8Vmtiora-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: associated function `from_ktime` is never used
--> rust/kernel/time.rs:272:26
|
248 | impl<C: ClockId> Instant<C, Nsec> {
| --------------------------------- associated function in this implementation
...
272 | pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> Self {
| ^^^^^^^^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
--
In file included from kernel/sched/rq-offsets.c:5:
In file included from kernel/sched/sched.h:28:
In file included from include/linux/cgroup_api.h:1:
In file included from include/linux/cgroup.h:27:
In file included from include/linux/kernel_stat.h:8:
In file included from include/linux/interrupt.h:11:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:24:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1209 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
1 warning generated.
llvm-nm: error: rust/helpers/helpers.o: No such file or directory
clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
clang diag: include/asm-generic/io.h:1209:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
>> warning: associated function `from_ktime` is never used
--> rust/kernel/time.rs:272:26
|
248 | impl<C: ClockId> Instant<C, Nsec> {
| --------------------------------- associated function in this implementation
...
272 | pub(crate) unsafe fn from_ktime(ktime: bindings::ktime_t) -> 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-12-05 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261204092910.253781-1-yusq77@gmail.com>
2026-12-05 9:55 ` [PATCH v4 2/2] rust: time: add KUnit tests for Instant Delta clamping 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