All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Asahi Lina <lina@asahilina.net>
Cc: oe-kbuild-all@lists.linux.dev, Janne Grunau <j@jannau.net>
Subject: [asahilinux:bits/250-aop 78/112] warning: unused import: `error::to_result`
Date: Mon, 10 Feb 2025 17:14:31 +0800	[thread overview]
Message-ID: <202502101747.NRAfNeDS-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-02-10  9:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202502101747.NRAfNeDS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=j@jannau.net \
    --cc=lina@asahilina.net \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.