Re: linux-next: manual merge of the rust tree with the drm-rust tree
From: Miguel Ojeda
Date: Sun Sep 28 2025 - 10:39:31 EST
On Tue, Sep 16, 2025 at 3:10 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> +use crate::page::AsPageIter;
> + use crate::fmt;
These should be the other way around to pass `rustfmt` (please see diff below).
I noticed now that we have cleared the other issues. If it could be
fixed in the merge commit, it would be great, thanks!
Cheers,
Miguel
diff --git a/rust/kernel/alloc/kvec.rs b/rust/kernel/alloc/kvec.rs
index 3d38d9bde582d..2cc147a4cb881 100644
--- a/rust/kernel/alloc/kvec.rs
+++ b/rust/kernel/alloc/kvec.rs
@@ -7,8 +7,8 @@
layout::ArrayLayout,
AllocError, Allocator, Box, Flags, NumaNode,
};
-use crate::page::AsPageIter;
use crate::fmt;
+use crate::page::AsPageIter;
use core::{
borrow::{Borrow, BorrowMut},
marker::PhantomData,