Page MenuHomeFreeBSD

ipmi: Use devclass_find to lookup ipmi devclass in ipmi_unload.
ClosedPublic

Authored by jhb on Apr 26 2022, 12:10 AM.
Tags
None
Referenced Files
F87060785: D35061.id105417.diff
Fri, Jun 28, 8:09 PM
F87007946: D35061.id105722.diff
Fri, Jun 28, 7:19 AM
Unknown Object (File)
Wed, Jun 26, 8:57 AM
Unknown Object (File)
Sun, Jun 16, 11:14 AM
Unknown Object (File)
Thu, Jun 6, 2:30 AM
Unknown Object (File)
Apr 30 2024, 6:55 PM
Unknown Object (File)
Apr 30 2024, 6:54 PM
Unknown Object (File)
Apr 30 2024, 6:54 PM
Subscribers
None

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45369
Build 42257: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 26 2022, 12:10 AM
jhb created this revision.
sys/dev/ipmi/ipmi.c
1073

BTW, this pattern of deleting devices created via BUS_ADD_CHILD in identify routines when unloading a driver that created the devices is not uncommon (there are about 4 or 5 drivers that do it). I wonder if we want to create a helper (devclass_delete_devices or the like) that drivers can use?

This revision was not accepted when it landed; it landed in state Needs Review.May 5 2022, 11:43 PM
This revision was automatically updated to reflect the committed changes.