Skip to content
Snippets Groups Projects
Commit 106cce96 authored by Simon Glass's avatar Simon Glass
Browse files

fdt: Tighten up error handling in fdtdec_get_pci_addr()


This function returns -ENOENT when the property is missing (which the caller
might forgive) and also when the property is present but incorrectly
formatted (which many callers would like to report).

Update the error return value to allow these different situations to be
distinguished.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent cc5e196e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment