[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202311200633.01qo6GEu-lkp@intel.com>
Date: Mon, 20 Nov 2023 06:22:12 +0800
From: kernel test robot <lkp@...el.com>
To: Miguel Ojeda <ojeda@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Martin Rodriguez Reboredo <yakoyoku@...il.com>,
Gary Guo <gary@...yguo.net>, Alice Ryhl <aliceryhl@...gle.com>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>
Subject: warning: unused import: `ffi::c_void`
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 037266a5f7239ead1530266f7d7af153d2a867fa
commit: ae6df65dabc3f8bd89663d96203963323e266d90 rust: upgrade to Rust 1.72.1
date: 6 weeks ago
config: x86_64-buildonly-randconfig-006-20231120 (https://download.01.org/0day-ci/archive/20231120/202311200633.01qo6GEu-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231120/202311200633.01qo6GEu-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311200633.01qo6GEu-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: unused import: `ffi::c_void`
--> rust/kernel/kunit.rs:9:12
|
9 | use core::{ffi::c_void, fmt};
| ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
--
>> warning: unused variable: `args`
--> rust/kernel/kunit.rs:15:12
|
15 | pub fn err(args: fmt::Arguments<'_>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
|
= note: `#[warn(unused_variables)]` on by default
--
>> warning: unused variable: `args`
--> rust/kernel/kunit.rs:31:13
|
31 | pub fn info(args: fmt::Arguments<'_>) {
| ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists