diff options
| author | 2026-10-04 10:00:49 +0900 | |
|---|---|---|
| committer | 2026-10-05 10:25:44 +0900 | |
| commit | dc90f13368ac509b05189089bed178858234c050 (patch) | |
| tree | 58e840905bdfd1c15fd1ebf6f46f014f98bd858b /scripts/Makefile.thinlto | |
| parent | gpu: nova-core: document the GIN interrupt controller and GSP events (diff) | |
gpu: nova-core: fix warning with NOVA_CORE_SELFTESTS disabled
A module-wide new import becomes unused if the `NOVA_CORE_SELFTESTS`
config option is disabled:
warning: unused import: `Spec`
--> ../drivers/gpu/nova-core/driver.rs:29:9
|
29 | Spec, //
| ^^^^
|
Fix this by fully qualifying the unique use of `Spec` when the tests are
enabled.
Fixes: 9cb3f5d56e81 ("gpu: nova-core: add an interrupt delivery self-test")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202610031630.JOlyp48X-lkp@intel.com/
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20261004-nova-int-fixup-v1-1-9e4bce097f94@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
