From: Miguel Ojeda Date: Thu, 4 Dec 2025 14:50:35 +0000 (+0100) Subject: rust: sync: atomic: separate import "blocks" X-Git-Tag: v6.19-rc1~88 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=309e49039f124a9dcb99c05651af8eb8fa05bc29;p=linux%2F.git 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 --- diff --git a/rust/kernel/sync/atomic.rs b/rust/kernel/sync/atomic.rs index 3afc376be42d..4aebeacb961a 100644 --- a/rust/kernel/sync/atomic.rs +++ b/rust/kernel/sync/atomic.rs @@ -22,6 +22,7 @@ pub use internal::AtomicImpl; pub use ordering::{Acquire, Full, Relaxed, Release}; + pub(crate) use internal::{AtomicArithmeticOps, AtomicBasicOps, AtomicExchangeOps}; use crate::build_error;