mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
These detach routines in these drivers all ended with 'return
(bus_generic_detach())' meaning that if any child device failed to
detach, the parent driver was left in a mostly destroyed state, but
still marked attached. Instead, bus drivers should detach child
drivers first and return errors before destroying driver state in the
parent.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47387
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| dwwdt.c | ||