Page MenuHomeFreeBSD

Use device_delete_children instead of explicit calls to device_delete_child
AcceptedPublic

Authored by jhb on Fri, Dec 6, 10:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 4:45 PM
Unknown Object (File)
Wed, Dec 11, 6:13 PM
Unknown Object (File)
Mon, Dec 9, 5:08 PM
Subscribers

Details

Reviewers
imp
andrew
manu
Summary

This is simpler and more robust in the face of potential double-frees
(e.g. if called after bus_generic_detach which will delete devices in
a future commit).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60999
Build 57883: arc lint + arc unit