From: Tom Rini Date: Fri, 6 Mar 2015 10:43:31 -0500 Subject: [U-Boot] [PATCH v2 07/22] fdt: Tighten up error handling in fdtdec_get_pci_addr() In-Reply-To: <1425583534-2238-8-git-send-email-sjg@chromium.org> References: <1425583534-2238-1-git-send-email-sjg@chromium.org> <1425583534-2238-8-git-send-email-sjg@chromium.org> Message-ID: <20150306154331.GJ25373@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: