[PATCH] rust: Sort rust/helpers.c's #include directives

From: Ariel Miculas
Date: Tue Apr 25 2023 - 16:29:01 EST


Suggested-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
Link: https://github.com/Rust-for-Linux/linux/issues/1003
Signed-off-by: Ariel Miculas <amiculas@xxxxxxxxx>
---
rust/helpers.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/rust/helpers.c b/rust/helpers.c
index 81e80261d597..59a23b1647fb 100644
--- a/rust/helpers.c
+++ b/rust/helpers.c
@@ -18,13 +18,17 @@
* accidentally exposed.
*/

+/*
+ * Sorted alphabetically.
+ */
+
#include <linux/bug.h>
#include <linux/build_bug.h>
#include <linux/err.h>
-#include <linux/refcount.h>
#include <linux/mutex.h>
-#include <linux/spinlock.h>
+#include <linux/refcount.h>
#include <linux/sched/signal.h>
+#include <linux/spinlock.h>
#include <linux/wait.h>

__noreturn void rust_helper_BUG(void)
--
2.40.0