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

(cherry picked from commit 462af7676b3ee8a8bd9ee9b55a35c0cf815a351f)

Details

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