From: Tom Rini Date: Sat, 11 Mar 2017 22:30:37 -0500 Subject: [U-Boot] [U-Boot, v2] arm: OMAP2+: nandecc: propagate error to command return status In-Reply-To: <20170306125430.zinlebhbjewylgoq@lenoch> References: <20170306125430.zinlebhbjewylgoq@lenoch> Message-ID: <20170312033037.GJ19897@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 Mon, Mar 06, 2017 at 01:54:30PM +0100, Ladislav Michl wrote: > Currently nandecc returns zero even if underlaying > omap_nand_switch_ecc function fails. Fix that by > propagating error returned to command return value. > > Signed-off-by: Ladislav Michl > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: