mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rust: pci: export ConfigSpace
@ 2026-01-31  2:20 Zijing Zhang
  2026-01-31  3:49 ` Alexandre Courbot
  0 siblings, 1 reply; 2+ messages in thread
From: Zijing Zhang @ 2026-01-31  2:20 UTC (permalink / raw)
  To: dakr; +Cc: gary, ojeda, linux-pci, rust-for-linux, linux-kernel

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

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	[flat|nested] 2+ messages in thread

* Re: [PATCH] rust: pci: export ConfigSpace
  2026-01-31  2:20 [PATCH] rust: pci: export ConfigSpace Zijing Zhang
@ 2026-01-31  3:49 ` Alexandre Courbot
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Courbot @ 2026-01-31  3:49 UTC (permalink / raw)
  To: Zijing Zhang; +Cc: dakr, gary, ojeda, linux-pci, rust-for-linux, linux-kernel

On Sat Jan 31, 2026 at 11:20 AM JST, Zijing Zhang wrote:
> Re-export ConfigSpace from kernel::pci so users can name the returned
> type from Device::config_space*().
>
> Signed-off-by: Zijing Zhang <zijing.zhang@ry.rs>

This should also have:

Fixes: 4dc0bacb1d3c ("rust: pci: add config space read/write support")

With that,

Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>

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

end of thread, other threads:[~2026-01-31  3:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-31  2:20 [PATCH] rust: pci: export ConfigSpace Zijing Zhang
2026-01-31  3:49 ` Alexandre Courbot

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

all inboxes | Powered by JetHome®