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)
Thu, Oct 24, 10:19 PM
Unknown Object (File)
Wed, Oct 16, 11:29 AM
Unknown Object (File)
Oct 5 2024, 7:28 AM
Unknown Object (File)
Oct 5 2024, 3:58 AM
Unknown Object (File)
Oct 4 2024, 10:02 PM
Unknown Object (File)
Oct 4 2024, 7:13 PM
Unknown Object (File)
Oct 3 2024, 5:50 PM
Unknown Object (File)
Oct 3 2024, 12:30 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