[PATCH] samples: rust: fix module name for Rust PCI driver sample

Peter Colberg posted 1 patch 1 week, 4 days ago
samples/rust/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] samples: rust: fix module name for Rust PCI driver sample
Posted by Peter Colberg 1 week, 4 days ago
Replace driver_pci -> rust_driver_pci in config SAMPLE_RUST_DRIVER_PCI.

Signed-off-by: Peter Colberg <pcolberg@redhat.com>
---
 samples/rust/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/rust/Kconfig b/samples/rust/Kconfig
index b66bed5d3f36d20302bf586dfdb002d39ed9796e..cde1dc9451d3aa191c82f2f2bb3e936f136d80c4 100644
--- a/samples/rust/Kconfig
+++ b/samples/rust/Kconfig
@@ -114,7 +114,7 @@ config SAMPLE_RUST_DRIVER_PCI
 	  This option builds the Rust PCI driver sample.
 
 	  To compile this as a module, choose M here:
-	  the module will be called driver_pci.
+	  the module will be called rust_driver_pci.
 
 	  If unsure, say N.
 

---
base-commit: e4addc7cc2dfcc19f1c8c8e47f3834b22cb21559
change-id: 20251120-rust-driver-pci-fix-module-name-49953c179404

Best regards,
-- 
Peter Colberg <pcolberg@redhat.com>
Re: [PATCH] samples: rust: fix module name for Rust PCI driver sample
Posted by Danilo Krummrich 1 week, 3 days ago
On Fri Nov 21, 2025 at 5:06 AM NZDT, Peter Colberg wrote:
> Replace driver_pci -> rust_driver_pci in config SAMPLE_RUST_DRIVER_PCI.
>
> Signed-off-by: Peter Colberg <pcolberg@redhat.com>

Applied to driver-core-next, thanks!

@Miguel: Thanks for providing the Fixes: tag!
Re: [PATCH] samples: rust: fix module name for Rust PCI driver sample
Posted by Miguel Ojeda 1 week, 4 days ago
On Thu, Nov 20, 2025 at 5:06 PM Peter Colberg <pcolberg@redhat.com> wrote:
>
> Replace driver_pci -> rust_driver_pci in config SAMPLE_RUST_DRIVER_PCI.
>
> Signed-off-by: Peter Colberg <pcolberg@redhat.com>

Looks good to me.

In case the stable team wants to eventually select it:

Fixes: 685376d18e9a ("samples: rust: add Rust PCI sample driver")

Thanks!

Danilo, Greg et al.: if you want me to pick it up, please let me know.

Cheers,
Miguel