]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: apply the one "use" item per line policy
authorJohn Hubbard <jhubbard@nvidia.com>
Fri, 7 Nov 2025 02:10:06 +0000 (18:10 -0800)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 7 Nov 2025 14:10:44 +0000 (23:10 +0900)
commit173c99b85aa05387fcfb3231293124c5d611d167
treec3880301b24220409c6427e6038f44030d6f403a
parentade19c5060dfa39b84a9475a4a6b05e2a8a2b3ac
gpu: nova-core: apply the one "use" item per line policy

As per [1], we need one "use" item per line, in order to reduce merge
conflicts. Furthermore, we need a trailing ", //" in order to tell
rustfmt(1) to leave it alone.

This does that for the entire nova-core driver.

[1] https://docs.kernel.org/rust/coding-guidelines.html#imports

Acked-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
[acourbot@nvidia.com: remove imports already in prelude as pointed out
by Danilo.]
[acourbot@nvidia.com: remove a few unneeded trailing `//`.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251107021006.434109-1-jhubbard@nvidia.com>
22 files changed:
drivers/gpu/nova-core/dma.rs
drivers/gpu/nova-core/driver.rs
drivers/gpu/nova-core/falcon.rs
drivers/gpu/nova-core/falcon/gsp.rs
drivers/gpu/nova-core/falcon/hal.rs
drivers/gpu/nova-core/falcon/hal/ga102.rs
drivers/gpu/nova-core/falcon/sec2.rs
drivers/gpu/nova-core/fb.rs
drivers/gpu/nova-core/fb/hal.rs
drivers/gpu/nova-core/fb/hal/ga100.rs
drivers/gpu/nova-core/fb/hal/ga102.rs
drivers/gpu/nova-core/fb/hal/tu102.rs
drivers/gpu/nova-core/firmware.rs
drivers/gpu/nova-core/firmware/booter.rs
drivers/gpu/nova-core/firmware/fwsec.rs
drivers/gpu/nova-core/firmware/gsp.rs
drivers/gpu/nova-core/firmware/riscv.rs
drivers/gpu/nova-core/gfw.rs
drivers/gpu/nova-core/gpu.rs
drivers/gpu/nova-core/gsp/boot.rs
drivers/gpu/nova-core/regs.rs
drivers/gpu/nova-core/vbios.rs