Page MenuHomeFreeBSD

LinuxKPI: fix pci device devres initialisation
ClosedPublic

Authored by bz on Jun 7 2021, 5:44 PM.
Tags
None
Referenced Files
F169242351: D30681.diff
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
Unknown Object (File)
Fri, Aug 28, 3:08 PM
Unknown Object (File)
Wed, Aug 26, 12:55 PM
Unknown Object (File)
Wed, Aug 26, 12:11 PM
Unknown Object (File)
Wed, Aug 26, 9:39 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39772
Build 36661: arc lint + arc unit