All of lore.kernel.org
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/rust-clockid 4/4] warning: unused variable: `id`
@ 2026-10-09  2:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-09  2:05 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/rust-clockid
head:   8aaeb43a5dab7c2344e34233fdf81d453ff9137a
commit: 8aaeb43a5dab7c2344e34233fdf81d453ff9137a [4/4] aux0
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261009/202610090320.ClvknFi3-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/20261009/202610090320.ClvknFi3-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/202610090320.ClvknFi3-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> warning: unused variable: `id`
   --> rust/kernel/time.rs:205:25
   |
   205 | unsafe fn ktime_get_aux(id: bindings::clockid_t) -> Option<bindings::ktime_t> {
   |                         ^^ help: if this is intentional, prefix it with an underscore: `_id`
   |
   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
--
>> warning: unsafe impl missing a safety comment
   --> rust/kernel/time.rs:229:1
   |
   229 | unsafe impl<const N: bindings::clockid_t> FallibleClock for Aux<N> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider adding a safety comment on the preceding line
   = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#undocumented_unsafe_blocks
   = note: requested on the command line with `-W clippy::undocumented-unsafe-blocks`
--
>> warning: missing documentation for a struct
   --> rust/kernel/time.rs:223:1
   |
   223 | pub struct Aux<const N: bindings::clockid_t>;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: requested on the command line with `-W missing-docs`

--
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-09  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09  2:05 [thomas-weissschuh:b4/rust-clockid 4/4] warning: unused variable: `id` kernel test robot

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.