* [PATCH] rust: pci: fix incorrect platform reference in PCI driver probe doc comment
@ 2025-09-14 3:18 Rahul Rameshbabu
2025-09-17 13:08 ` Danilo Krummrich
0 siblings, 1 reply; 2+ messages in thread
From: Rahul Rameshbabu @ 2025-09-14 3:18 UTC (permalink / raw)
To: rust-for-linux, linux-pci
Cc: Danilo Krummrich, Bjorn Helgaas, Krzysztof Wilczyński,
Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
Trevor Gross, Rahul Rameshbabu, stable
Substitute 'platform' with 'pci'.
Link: https://lore.kernel.org/rust-for-linux/CANiq72msM5PT2mYKrX_RPXYtA4vapMRO=iSex1gQZqiXdpvvDA@mail.gmail.com/
Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions")
Cc: stable@kernel.org
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
---
rust/kernel/pci.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs
index 887ee611b553..c21cadfc879a 100644
--- a/rust/kernel/pci.rs
+++ b/rust/kernel/pci.rs
@@ -240,8 +240,8 @@ pub trait Driver: Send {
/// PCI driver probe.
///
- /// Called when a new platform device is added or discovered.
- /// Implementers should attempt to initialize the device here.
+ /// Called when a new pci device is added or discovered. Implementers should
+ /// attempt to initialize the device here.
fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> Result<Pin<KBox<Self>>>;
/// Platform driver unbind.
base-commit: 099381a08db3539c6aab6616c94d7950d74fcd2d
--
2.47.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] rust: pci: fix incorrect platform reference in PCI driver probe doc comment
2025-09-14 3:18 [PATCH] rust: pci: fix incorrect platform reference in PCI driver probe doc comment Rahul Rameshbabu
@ 2025-09-17 13:08 ` Danilo Krummrich
0 siblings, 0 replies; 2+ messages in thread
From: Danilo Krummrich @ 2025-09-17 13:08 UTC (permalink / raw)
To: Rahul Rameshbabu
Cc: rust-for-linux, linux-pci, Bjorn Helgaas,
Krzysztof Wilczyński, Miguel Ojeda, Alex Gaynor, Boqun Feng,
Gary Guo, Björn Roy Baron, Benno Lossin, Andreas Hindborg,
Alice Ryhl, Trevor Gross, stable
On Sun Sep 14, 2025 at 5:18 AM CEST, Rahul Rameshbabu wrote:
> Substitute 'platform' with 'pci'.
>
> Link: https://lore.kernel.org/rust-for-linux/CANiq72msM5PT2mYKrX_RPXYtA4vapMRO=iSex1gQZqiXdpvvDA@mail.gmail.com/
> Fixes: 1bd8b6b2c5d3 ("rust: pci: add basic PCI device / driver abstractions")
> Cc: stable@kernel.org
> Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Applied to driver-core-testing, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-17 13:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-14 3:18 [PATCH] rust: pci: fix incorrect platform reference in PCI driver probe doc comment Rahul Rameshbabu
2025-09-17 13:08 ` Danilo Krummrich
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).