Page MenuHomeFreeBSD

LinuxKPI: fix pci device devres initialisation
AcceptedPublic

Authored by bz on Mon, Jun 7, 5:44 PM.

Details

Reviewers
hselasky
Group Reviewers
linuxkpi
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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 39772
Build 36661: arc lint + arc unit