From: "Alexandre Courbot" <acourbot@nvidia.com>
To: "kernel test robot" <lkp@intel.com>
Cc: "John Hubbard" <jhubbard@nvidia.com>, <llvm@lists.linux.dev>,
<oe-kbuild-all@lists.linux.dev>
Subject: Re: [linux-next:master 13730/14185] warning: unused import: `Spec`
Date: Sun, 04 Oct 2026 00:12:21 +0900 [thread overview]
Message-ID: <DLVATA7ILWLB.27BB2BXCREDOT@nvidia.com> (raw)
In-Reply-To: <202610031630.JOlyp48X-lkp@intel.com>
On Sun Oct 4, 2026 at 12:09 AM JST, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head: f0406245cb9855e6318335a8a223551354291a46
> commit: 9cb3f5d56e81fd97a82ef361b210bc2322daaaa7 [13730/14185] gpu: nova-core: add an interrupt delivery self-test
> config: um-randconfig-2000-20261003 (https://download.01.org/0day-ci/archive/20261003/202610031630.JOlyp48X-lkp@intel.com/config)
> compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project d7e4505dd447d115d85fdea45cd71030ac1d86ee)
> rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261003/202610031630.JOlyp48X-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/202610031630.JOlyp48X-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>>> warning: unused import: `Spec`
> --> drivers/gpu/nova-core/driver.rs:29:9
> |
> 29 | Spec, //
> | ^^^^
> |
> = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
Mmm, this indeed can happen when `CONFIG_NOVA_CORE_SELFTESTS` is not
set. We should not import the symbol and instead fully qualify it on its
use site. I'll send a patch to fix this.
next prev parent reply other threads:[~2026-10-03 15:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-03 15:09 [linux-next:master 13730/14185] warning: unused import: `Spec` kernel test robot
2026-10-03 15:12 ` Alexandre Courbot [this message]
2026-10-03 15:13 ` John Hubbard
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=DLVATA7ILWLB.27BB2BXCREDOT@nvidia.com \
--to=acourbot@nvidia.com \
--cc=jhubbard@nvidia.com \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--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.