HomeFreeBSD

Change some KASSERT to device_printf + return EINVAL. There's no need to

Description

Change some KASSERT to device_printf + return EINVAL. There's no need to
bring the whole kernel down due to a configuration error detected when a
module is loaded, it suffices to just not attach the device.

Details

Provenance
ianAuthored on Jan 8 2020, 10:48 PM
Parents
rGb29fdcf8b371: Init sc->maxbus to -1, not 0. It represents the highest array index that
Branches
Unknown
Tags
Unknown

Event Timeline