* [asahilinux:bits/250-aop 78/112] warning: unused import: `error::to_result`
@ 2025-02-10 9:14 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-10 9:14 UTC (permalink / raw)
To: Asahi Lina; +Cc: oe-kbuild-all, Janne Grunau
tree: https://github.com/AsahiLinux/linux bits/250-aop
head: fd3792ec2053672fb9359a570552a51ae48f4035
commit: 05ee061d013fffe313ec788233c61c76aae525a6 [78/112] rust: of: Add Node::address_as_resource()
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250210/202502101747.NRAfNeDS-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250210/202502101747.NRAfNeDS-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/202502101747.NRAfNeDS-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> warning: unused import: `error::to_result`
--> rust/kernel/of.rs:7:47
|
7 | use crate::{bindings, device_id::RawDeviceId, error::to_result, io_mem::Resource, prelude::*};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
--
>> warning: unused variable: `index`
--> rust/kernel/of.rs:257:39
|
257 | pub fn address_as_resource(&self, index: usize) -> Result<Resource> {
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
|
= note: `#[warn(unused_variables)]` 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:[~2025-02-10 9:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 9:14 [asahilinux:bits/250-aop 78/112] warning: unused import: `error::to_result` 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.