Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH v3 05/13] rust: hrtimer: allow timer restart from timer handler
       [not found] <20241017-hrtimer-v3-v6-12-rc2-v3-5-59a75cbb44da@kernel.org>
@ 2024-10-20 16:46 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-20 16:46 UTC (permalink / raw)
  To: Andreas Hindborg, Miguel Ojeda, Anna-Maria Behnsen,
	Frederic Weisbecker, Thomas Gleixner
  Cc: llvm, oe-kbuild-all, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Alice Ryhl, Trevor Gross,
	Lyude Paul, rust-for-linux, linux-kernel, Andreas Hindborg

Hi Andreas,

kernel test robot noticed the following build errors:

[auto build test ERROR on 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b]

url:    https://github.com/intel-lab-lkp/linux/commits/Andreas-Hindborg/rust-time-Add-Ktime-from_ns/20241017-211351
base:   8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
patch link:    https://lore.kernel.org/r/20241017-hrtimer-v3-v6-12-rc2-v3-5-59a75cbb44da%40kernel.org
patch subject: [PATCH v3 05/13] rust: hrtimer: allow timer restart from timer handler
config: um-randconfig-002-20241020 (https://download.01.org/0day-ci/archive/20241021/202410210020.W6cyMg2D-lkp@intel.com/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project bfe84f7085d82d06d61c632a7bad1e692fd159e4)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241021/202410210020.W6cyMg2D-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/202410210020.W6cyMg2D-lkp@intel.com/

All errors (new ones prefixed by >>):

>> error[E0053]: method `from` has an incompatible type for trait
   --> rust/kernel/hrtimer.rs:282:20
   |
   282 |     fn from(value: bindings::hrtimer_restart) -> Self {
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^
   |                    |
   |                    expected `u32`, found `i32`
   |                    help: change the parameter type to match the trait: `u32`
   |
   = note: expected signature `fn(u32) -> TimerRestart`
   found signature `fn(i32) -> TimerRestart`

-- 
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:[~2024-10-20 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20241017-hrtimer-v3-v6-12-rc2-v3-5-59a75cbb44da@kernel.org>
2024-10-20 16:46 ` [PATCH v3 05/13] rust: hrtimer: allow timer restart from timer handler 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