Page MenuHomeFreeBSD

LinuxKPI: fix pci device devres initialisation
ClosedPublic

Authored by bz on Jun 7 2021, 5:44 PM.
Tags
None
Referenced Files
F170024180: D30681.id91071.diff
Thu, Sep 3, 7:01 AM
F169938991: D30681.diff
Thu, Sep 3, 1:05 AM
Unknown Object (File)
Tue, Sep 1, 3:51 PM
Unknown Object (File)
Tue, Sep 1, 7:10 AM
Unknown Object (File)
Tue, Sep 1, 1:00 AM
Unknown Object (File)
Sun, Aug 30, 2:43 PM
Unknown Object (File)
Sun, Aug 30, 6:09 AM
Unknown Object (File)
Sat, Aug 29, 6:40 PM
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