From 309e49039f124a9dcb99c05651af8eb8fa05bc29 Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Thu, 4 Dec 2025 15:50:35 +0100 Subject: [PATCH] rust: sync: atomic: separate import "blocks" Commit 14e9a18b07ec ("rust: sync: atomic: Make Atomic*Ops pub(crate)") added a `pub(crate)` import in the same "block" as the `pub` one, without running `rustfmt`, which would sort them differently. Instead of running `rustfmt` as-is, add a newline to keep the import "blocks" with different visibilities separate. Signed-off-by: Miguel Ojeda Signed-off-by: Linus Torvalds --- rust/kernel/sync/atomic.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/kernel/sync/atomic.rs b/rust/kernel/sync/atomic.rs index 3afc376be42d9..4aebeacb961a2 100644 --- a/rust/kernel/sync/atomic.rs +++ b/rust/kernel/sync/atomic.rs @@ -22,6 +22,7 @@ mod predefine; pub use internal::AtomicImpl; pub use ordering::{Acquire, Full, Relaxed, Release}; + pub(crate) use internal::{AtomicArithmeticOps, AtomicBasicOps, AtomicExchangeOps}; use crate::build_error; -- 2.47.3