Re: [PATCH] rust: sync: atomic: Fix fmt warning
From: Miguel Ojeda
Date: Thu Dec 11 2025 - 18:16:59 EST
On Thu, Dec 11, 2025 at 10:31 PM Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>
> Commit 14e9a18b07ec ("rust: sync: atomic: Make Atomic*Ops pub(crate)")
> introduced an import ordering that rustfmt disagrees with. Hence fix it.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/lkml/202512110753.8B3YlvtX-lkp@xxxxxxxxx/
> Fixes: 14e9a18b07ec ("rust: sync: atomic: Make Atomic*Ops pub(crate)")
> Signed-off-by: Boqun Feng <boqun.feng@xxxxxxxxx>
> ---
> Hi Ingo & Peter,
>
> Looks like I missed one rustfmt issue in the commit 14e9a18b07ec in
> tip/locking/core, here is the fix. Feel free to fold it if you want.
> Apologies for not catching this earlier.
Linus picked 309e49039f12 ("rust: sync: atomic: separate import
"blocks"") in mainline a few days ago (but the solution I did was to
add a newline to separate the import "blocks" with different
visibility instead).
Cheers,
Miguel