public inbox for rust-for-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rust: pci: export ConfigSpace
@ 2026-01-31  4:02 Zijing Zhang
  2026-01-31  4:57 ` Alexandre Courbot
  2026-01-31 16:16 ` Gary Guo
  0 siblings, 2 replies; 6+ messages in thread
From: Zijing Zhang @ 2026-01-31  4:02 UTC (permalink / raw)
  To: dakr, linux-pci, rust-for-linux; +Cc: acourbot, Zijing Zhang

Re-export ConfigSpace from kernel::pci so users can name the returned
type from Device::config_space*().

Fixes: 4dc0bacb1d3c ("rust: pci: add config space read/write support")
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Zijing Zhang <zijing.zhang@ry.rs>
---
 rust/kernel/pci.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs
index f347c2f7c3a6..af74ddff6114 100644
--- a/rust/kernel/pci.rs
+++ b/rust/kernel/pci.rs
@@ -42,6 +42,7 @@
 };
 pub use self::io::{
     Bar,
+    ConfigSpace,
     ConfigSpaceKind,
     ConfigSpaceSize,
     Extended,
-- 
2.52.0


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

end of thread, other threads:[~2026-02-01 21:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-31  4:02 [PATCH] rust: pci: export ConfigSpace Zijing Zhang
2026-01-31  4:57 ` Alexandre Courbot
2026-01-31 16:16 ` Gary Guo
2026-01-31 16:42   ` [PATCH v2] " Zijing Zhang
2026-01-31 18:12     ` Miguel Ojeda
2026-02-01 21:33     ` Danilo Krummrich

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