rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rust: sort includes in bindings_helper.h
@ 2024-08-09  6:42 Alice Ryhl
  2024-08-09 12:58 ` Miguel Ojeda
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alice Ryhl @ 2024-08-09  6:42 UTC (permalink / raw)
  To: Jens Axboe, Miguel Ojeda, Andreas Hindborg
  Cc: linux-block, rust-for-linux, linux-kernel, Alice Ryhl

Dash has ascii value 45 and underscore has ascii value 95, so to
correctly sort the includes, the underscore should be last.

Fixes: 3253aba3408a ("rust: block: introduce `kernel::block::mq` module")
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
---
 rust/bindings/bindings_helper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h
index b940a5777330..ae82e9c941af 100644
--- a/rust/bindings/bindings_helper.h
+++ b/rust/bindings/bindings_helper.h
@@ -7,8 +7,8 @@
  */
 
 #include <kunit/test.h>
-#include <linux/blk_types.h>
 #include <linux/blk-mq.h>
+#include <linux/blk_types.h>
 #include <linux/blkdev.h>
 #include <linux/errname.h>
 #include <linux/ethtool.h>
-- 
2.46.0.76.ge559c4bf1a-goog


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-09 13:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09  6:42 [PATCH] rust: sort includes in bindings_helper.h Alice Ryhl
2024-08-09 12:58 ` Miguel Ojeda
2024-08-09 13:38   ` Alice Ryhl
2024-08-09 13:01 ` Danilo Krummrich
2024-08-09 13:19   ` Alice Ryhl
2024-08-09 13:07 ` Jens Axboe
2024-08-09 13:16   ` Alice Ryhl

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).