]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: apply the one "use" item per line policy to commands.rs
authorJohn Hubbard <jhubbard@nvidia.com>
Tue, 10 Mar 2026 02:10:56 +0000 (19:10 -0700)
committerAlexandre Courbot <acourbot@nvidia.com>
Tue, 10 Mar 2026 11:14:32 +0000 (20:14 +0900)
commita544873ce0575b2fd8285a1364d3e09929d9a3ba
treefceaddb30c83108ffd7787b5159c1cc35f080bd2
parenta247f8a107b5ddbf21084599ad8d8190d1357de8
gpu: nova-core: apply the one "use" item per line policy to commands.rs

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 commands.rs, which is the only file in nova-core that
has any remaining instances of the old style.

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

Reviewed-by: Gary Guo <gary@garyguo.net>
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Link: https://patch.msgid.link/20260310021125.117855-7-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/gsp/fw/commands.rs