[U-Boot] [PATCH v2 07/22] fdt: Tighten up error handling in fdtdec_get_pci_addr()

Tom Rini trini at konsulko.com
Fri Mar 6 16:43:31 CET 2015


On Thu, Mar 05, 2015 at 12:25:19PM -0700, Simon Glass wrote:

> 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: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150306/2dc530d7/attachment.sig>


More information about the U-Boot mailing list