]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: pci: fix documentation related to Device instances
authorRahul Rameshbabu <sergeantsagara@protonmail.com>
Sun, 6 Jul 2025 04:00:32 +0000 (04:00 +0000)
committerDanilo Krummrich <dakr@kernel.org>
Mon, 7 Jul 2025 12:32:09 +0000 (14:32 +0200)
commit5cddd546df0fa21316735d1d60fe826886e0dc21
treed2c044311b5a1cc1f0ca31c7c2a0622a25c8c937
parent6d16cd5769bbb5eb62974e8eddb97fca830b49fd
rust: pci: fix documentation related to Device instances

Device instances in the pci crate represent a valid struct pci_dev, not a
struct device.

Fixes: 7b948a2af6b5 ("rust: pci: fix unrestricted &mut pci::Device")
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Link: https://lore.kernel.org/r/20250706035944.18442-3-sergeantsagara@protonmail.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/pci.rs