* [linux-next:master 13730/14185] warning: unused import: `Spec`
@ 2026-10-03 15:09 kernel test robot
2026-10-03 15:12 ` Alexandre Courbot
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-10-03 15:09 UTC (permalink / raw)
To: John Hubbard; +Cc: llvm, oe-kbuild-all, Alexandre Courbot, Joel Fernandes
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
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 13730/14185] warning: unused import: `Spec`
2026-10-03 15:09 [linux-next:master 13730/14185] warning: unused import: `Spec` kernel test robot
@ 2026-10-03 15:12 ` Alexandre Courbot
2026-10-03 15:13 ` John Hubbard
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Courbot @ 2026-10-03 15:12 UTC (permalink / raw)
To: kernel test robot; +Cc: John Hubbard, llvm, oe-kbuild-all
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-next:master 13730/14185] warning: unused import: `Spec`
2026-10-03 15:12 ` Alexandre Courbot
@ 2026-10-03 15:13 ` John Hubbard
0 siblings, 0 replies; 3+ messages in thread
From: John Hubbard @ 2026-10-03 15:13 UTC (permalink / raw)
To: Alexandre Courbot, kernel test robot; +Cc: llvm, oe-kbuild-all
On 10/3/26 5:12 PM, Alexandre Courbot wrote:
> 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.
Oh thanks for jumping on this, I was just starting to work through
it when you answered it already. :)
thanks,
--
John Hubbard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-03 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-03 15:09 [linux-next:master 13730/14185] warning: unused import: `Spec` kernel test robot
2026-10-03 15:12 ` Alexandre Courbot
2026-10-03 15:13 ` John Hubbard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox