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)
Nov 21 2025, 1:37 AM
Unknown Object (File)
Nov 16 2025, 1:33 AM
Unknown Object (File)
Nov 7 2025, 4:33 AM
Unknown Object (File)
Nov 2 2025, 11:09 PM
Unknown Object (File)
Oct 31 2025, 5:17 AM
Unknown Object (File)
Oct 29 2025, 11:54 AM
Unknown Object (File)
Oct 29 2025, 10:43 AM
Unknown Object (File)
Oct 29 2025, 10:43 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