public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] rust: iommu: fix Rust formatting
@ 2026-01-21 18:43 Miguel Ojeda
  2026-01-21 18:43 ` [PATCH 2/2] rust: iommu: fix `srctree` link warning Miguel Ojeda
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Miguel Ojeda @ 2026-01-21 18:43 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Miguel Ojeda
  Cc: Robin Murphy, iommu, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich, rust-for-linux, Mark Brown

The Rust kernel code should be kept `rustfmt`-clean [1].

Thus run the `rustfmt` target to fix the formatting issue.

Link: https://rust-for-linux.com/contributing#submit-checklist-addendum [1]
Fixes: 2e2f6b0ef855 ("rust: iommu: add io_pgtable abstraction")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
---
It would be nice to clean this up, so that Mark may start enforcing it
in linux-next -- thanks!

Please feel free to rebase if needed instead.

Cc: Mark Brown <broonie@kernel.org>

 rust/kernel/iommu/pgtable.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rust/kernel/iommu/pgtable.rs b/rust/kernel/iommu/pgtable.rs
index 6135ba141e48..916e1f509e62 100644
--- a/rust/kernel/iommu/pgtable.rs
+++ b/rust/kernel/iommu/pgtable.rs
@@ -14,7 +14,7 @@
     bindings,
     device::{
         Bound,
-        Device //
+        Device, //
     },
     devres::Devres,
     error::to_result,
--
2.52.0

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

end of thread, other threads:[~2026-01-22  8:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-21 18:43 [PATCH 1/2] rust: iommu: fix Rust formatting Miguel Ojeda
2026-01-21 18:43 ` [PATCH 2/2] rust: iommu: fix `srctree` link warning Miguel Ojeda
2026-01-22  8:19 ` [PATCH 1/2] rust: iommu: fix Rust formatting Joerg Roedel
2026-01-22  8:22 ` Alice Ryhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox