]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
rust: usb: fix formatting
authorMiguel Ojeda <ojeda@kernel.org>
Thu, 16 Oct 2025 23:13:50 +0000 (01:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2025 09:04:04 +0000 (10:04 +0100)
We do our best to keep the repository `rustfmt`-clean, thus run the tool
to fix the formatting issue.

Link: https://docs.kernel.org/rust/coding-guidelines.html#style-formatting
Link: https://rust-for-linux.com/contributing#submit-checklist-addendum
Fixes: 9a55e0079258 ("Revert "USB: disable rust bindings from the build for now"")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://patch.msgid.link/20251016231350.1418501-1-ojeda@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rust/kernel/lib.rs

index 9cf4ca0ae7a1ec8bbe26bed3008f35b3faaf9dc0..cd191686fef612871feca5e70addf1e4ae398d37 100644 (file)
@@ -138,9 +138,9 @@ pub mod time;
 pub mod tracepoint;
 pub mod transmute;
 pub mod types;
+pub mod uaccess;
 #[cfg(CONFIG_USB = "y")]
 pub mod usb;
-pub mod uaccess;
 pub mod workqueue;
 pub mod xarray;