diff options
| author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2025-09-17 23:37:02 +0000 |
|---|---|---|
| committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2026-01-14 18:36:09 +0000 |
| commit | fa24602ca6282d71c26079136a74b85824c0e63b (patch) | |
| tree | 19826ceb36d562c56266751da4d69324e8ff210a /source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | f5a77dc8f8df09a907c2a2bdf86802513b1ebb15 (diff) | |
LinuxKPI: pci: fix pcie_get_speed_cap()
pcie_get_speed_cap() has a hard coded skip of 3 devices at the
beginning. It is either called on a pdev or on a result from
pci_upstream_bridge(). In the latter case skipping another three
devices might get us to acpi0 or nexus, neither of which is a
PCI device still and pci_get_vendor() will panic() on that.
Sponsored by: The FreeBSD Foundation (commit)
GHI: https://github.com/freebsd/drm-kmod/issues/393
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D53862
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
