Re: [PATCH] block: rnull: use vertical import style

Andreas Hindborg <[email protected]> Wed, 05 Aug 2026 13:47:50 +0200
Newsgroups org.kernel.vger.rust-for-linux,dev.linux.lists.llvm,org.kernel.vger.linux-block,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
"Guru Das Srinagesh" <[email protected]> writes:

> Convert `use` imports to vertical layout for better readability and
> maintainability.
>
> Signed-off-by: Guru Das Srinagesh <[email protected]>
> ---
> Came across a recent commit bc58905eb07 ("samples: rust_misc_device: use
> vertical import style") and found a few more locations that could
> benefit from this cleanup. No functional changes.
>
> Separating out patches per-subsystem as per the review feedback in [0].
>
> Tested via:
>
> 	$ make LLVM=1 rustfmtcheck || echo "fail"
> 	$
>
> Initially thought that rust-for-linux/rust-block-next was the right base
> branch to use, which is why I didn't group this with [1] based on
> rust-next that I sent out a short while ago. Using rust-next as base for
> this patch.
>
> [0]: https://lore.kernel.org/lkml/[email protected]/
> [1]: https://lore.kernel.org/lkml/[email protected]/

I think this patch was already submitted by Alvin back in May [1].

Best regards,
Andreas Hindborg

[1] https://lore.kernel.org/r/[email protected]