HomeFreeBSD

kboot: kbootfdt: fix error handling

Description

kboot: kbootfdt: fix error handling

If we are able to open /sys/firmware/fdt, but aren't able to read it,
fall back to /proc/device-tree. Remove comment that's not really true,
it turns out.

Sponsored by: Netflix

Details

Provenance
impAuthored on Mar 11 2024, 8:15 PM
Parents
rGd75524b3fe21: kboot: Use is_linux_error to check mmap return error
Branches
Unknown
Tags
Unknown