diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2026-10-04 10:00:49 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-10-05 10:25:44 +0900 |
| commit | dc90f13368ac509b05189089bed178858234c050 (patch) | |
| tree | 58e840905bdfd1c15fd1ebf6f46f014f98bd858b /scripts/basic/split-include.c | |
| parent | df718311a84188e26d499301c3921e4c392d557e (diff) | |
| download | linux-dc90f13368ac509b05189089bed178858234c050.tar.gz linux-dc90f13368ac509b05189089bed178858234c050.zip | |
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/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
