From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-24417.protonmail.ch (mail-24417.protonmail.ch [109.224.244.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7D17EEBD for ; Sun, 14 Sep 2025 03:19:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757819969; cv=none; b=dGaiM/jr3QWEEfxgtN6Q3CPhcUQywtAtIjKHpRxWkZz3Ff5Vy0YPAyZ4R3BC2N+yrJ8PKHGQ8pJMxk3wGAM4WJn3ar8QwLA3Pczbg3vVAZfbw50d3Tl6zz/bT7rveOqu5/CK2b+2KE3oZnERPHGNtZoNbqadUROvBMXfOctgvwg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757819969; c=relaxed/simple; bh=85dF99pIbn6AH9GPkzTohCZZZihGYeGW/3C7S2O1bA8=; h=Date:To:From:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=dkDokCSKH9/QejMZjAaIYVq9Z7W01dPjBe5Qa5lNI4n0RJnKVhEAY+lP+FFkcgtjB35Qp1CHcyimOdGNoV4eZa9KGmuVg+iOrKmksyfo1hnh3zW418VfpapIyAJ0ha/yF5mLDEMwoDSE9hg0HyUOUDyyYx9NibRd8Z4qdA7kvAk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=Y/q6CQFQ; arc=none smtp.client-ip=109.224.244.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="Y/q6CQFQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1757819965; x=1758079165; bh=IiPBwCshBfHLdnwVP1Xr/VZasVm16o3JkjnqwUqiGGo=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Y/q6CQFQVfsvIGDLXiAuxSMO2g/4FQs2yK9roqSm7FFQl4VJ786R5Y+mZgACLQ7Tm yHhEHTVWjW+L7AXZxkce54gN46p5UzSseuv9LBwR7oIHXRE9wB1TrI3m4qHfPMgFLG 4AU3OqFcEzYtE5NY2UvTNIRhQ0hCLOrw3LUgbAmDmQ08pubPDuOxqwSghQ/asNO+Ge vUfsC2LXJIPknOFE5p9onAFnk/0jRmZeddRndDWS6wW38opCBlcEMYS7IGWJfSduqJ 0c1emwFPi63IVe67KUq6ymb7vkmZFrLT1m5rQLqpMggggU/rkCOZo8oNOmqErmjHAx RY9SZphLM9BFg== Date: Sun, 14 Sep 2025 03:19:19 +0000 To: rust-for-linux@vger.kernel.org, linux-pci@vger.kernel.org From: Rahul Rameshbabu Cc: Danilo Krummrich , Bjorn Helgaas , =?utf-8?Q?Krzysztof_Wilczy=C5=84ski?= , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?utf-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Rahul Rameshbabu Subject: [PATCH] rust: pci: fix incorrect platform reference in PCI driver unbind doc comment Message-ID: <20250914031901.9399-1-sergeantsagara@protonmail.com> Feedback-ID: 26003777:user:proton X-Pm-Message-ID: c0c840400873c61a247d108c09ea6f4cf5b6894a Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Substitute 'platform' with 'pci'. Link: https://lore.kernel.org/rust-for-linux/CANiq72msM5PT2mYKrX_RPXYtA4vap= MRO=3DiSex1gQZqiXdpvvDA@mail.gmail.com/ Fixes: 18ebb25dfa18 ("rust: pci: implement Driver::unbind()") Signed-off-by: Rahul Rameshbabu --- rust/kernel/pci.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/kernel/pci.rs b/rust/kernel/pci.rs index 887ee611b553..a07a7fd3d94b 100644 --- a/rust/kernel/pci.rs +++ b/rust/kernel/pci.rs @@ -244,7 +244,7 @@ pub trait Driver: Send { /// Implementers should attempt to initialize the device here. fn probe(dev: &Device, id_info: &Self::IdInfo) -> Result= >>; =20 - /// Platform driver unbind. + /// PCI driver unbind. /// /// Called when a [`Device`] is unbound from its bound [`Driver`]. Imp= lementing this callback /// is optional. base-commit: 099381a08db3539c6aab6616c94d7950d74fcd2d --=20 2.47.2