rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ariel Miculas <ariel.miculas@gmail.com>
To: rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
	ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com,
	boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com,
	benno.lossin@proton.me
Cc: Ariel Miculas <amiculas@cisco.com>
Subject: [PATCH] rust: Sort rust/helpers.c's #include directives
Date: Tue, 25 Apr 2023 23:28:48 +0300	[thread overview]
Message-ID: <20230425202848.261139-1-amiculas@cisco.com> (raw)

Suggested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/Rust-for-Linux/linux/issues/1003
Signed-off-by: Ariel Miculas <amiculas@cisco.com>
---
 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


             reply	other threads:[~2023-04-25 20:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-25 20:28 Ariel Miculas [this message]
2023-04-25 20:37 ` [PATCH] rust: Sort rust/helpers.c's #include directives Miguel Ojeda
2023-04-26  8:13   ` Ariel Miculas
2023-04-26  8:23     ` Ariel Miculas
2023-04-26  8:17   ` Ariel Miculas
2023-04-26 17:55     ` Miguel Ojeda
2023-04-26 20:49       ` [PATCH v3] rust: helpers: sort includes alphabetically in rust/helpers.c Ariel Miculas
2023-04-26 20:55         ` Martin Rodriguez Reboredo
2023-04-26 21:04           ` Ariel Miculas
2023-04-26 21:28             ` Miguel Ojeda
2023-04-27 12:36         ` Gary Guo
2023-07-19 20:01         ` Miguel Ojeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230425202848.261139-1-amiculas@cisco.com \
    --to=ariel.miculas@gmail.com \
    --cc=alex.gaynor@gmail.com \
    --cc=amiculas@cisco.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=wedsonaf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).