* [android-common:android17-6.18 15/15] warning: this expression creates a reference which is immediately dereferenced by the compiler
@ 2026-10-06 23:11 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-06 23:11 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android17-6.18
head: efe665b77332621017fded6de1496bfff20ae5c6
commit: 2699f85e5e689ad1c6462d6081dd4b1a9ab2d195 [15/15] BACKPORT: rust: module: update the module macro with module parameter support
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20261007/202610070141.PS8euvq3-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/20261007/202610070141.PS8euvq3-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/202610070141.PS8euvq3-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rust/macros/module.rs:337:36
|
337 | modinfo.emit("author", &author);
| ^^^^^^^ help: change this to: `author`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
--
>> warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rust/macros/module.rs:341:37
|
341 | modinfo.emit("description", &description);
| ^^^^^^^^^^^^ help: change this to: `description`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#needless_borrow
--
>> warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rust/macros/module.rs:346:35
|
346 | modinfo.emit("alias", &alias);
| ^^^^^^ help: change this to: `alias`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#needless_borrow
--
>> warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rust/macros/module.rs:351:38
|
351 | modinfo.emit("firmware", &fw);
| ^^^ help: change this to: `fw`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#needless_borrow
--
>> warning: this expression creates a reference which is immediately dereferenced by the compiler
--> rust/macros/module.rs:356:39
|
356 | modinfo.emit("import_ns", &ns);
| ^^^ help: change this to: `ns`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#needless_borrow
--
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-06 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-06 23:11 [android-common:android17-6.18 15/15] warning: this expression creates a reference which is immediately dereferenced by the compiler 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.