HomeFreeBSD

Use named field's initializer when constructing <foo>_platform structure.

Description

Use named field's initializer when constructing <foo>_platform structure.
In current code, the delay argument in FDT_PLATFORM_DEF(2) improperly
initialize refs field from kobj_class structure instead of delay_count
field.
This causes not working DELAY() function (due to never initialized
delay_count) in earlier boot stages, until the first timer was attached.

MFC after: 2 weeks

Details

Provenance
mmelAuthored on Mar 19 2019, 2:32 PM
Parents
rG2dd13cf6a46c: extres: Unify error codes for <foo>_get_by_ofw_property() methods.
Branches
Unknown
Tags
Unknown

Event Timeline