HomeFreeBSD

SIMPLEBUS: Don't panic if child device doesn't have devinfo set.

Description

SIMPLEBUS: Don't panic if child device doesn't have devinfo set.
Strictly speaking, missing devinfo is error which can be caused
by instantiating child using device_add_child() instead of
BUS_ADD_CHILD(). However, we can tolerate it.

Approved by: kib (mentor)

Details

Provenance
mmelAuthored on
Parents
rS292158: Fixed uninitialized variable warnings.
Branches
Unknown
Tags
Unknown