Page MenuHomeFreeBSD

LinuxKPI: fix pci device devres initialisation
ClosedPublic

Authored by bz on Jun 7 2021, 5:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jul 7 2025, 12:04 AM
Unknown Object (File)
Jul 6 2025, 12:35 PM
Unknown Object (File)
Jul 5 2025, 3:49 PM
Unknown Object (File)
Jul 4 2025, 1:58 AM
Unknown Object (File)
Jul 3 2025, 10:12 AM
Unknown Object (File)
Jun 27 2025, 2:58 PM
Unknown Object (File)
Jun 22 2025, 1:17 PM
Unknown Object (File)
Jun 22 2025, 2:49 AM
Subscribers

Details

Summary

Given we are manually setting up the "device" in PCI in some cases,
we need to initialise the list and lock for device devres here as well
as otherwise we will panic on the uninitialised lock.

Sponsored by: The FreeBSD Foundation
MFC after: 5 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable