On Fri, Jan 02, 2015 at 02:49:10PM -0300, Guido Martínez wrote:

> "err" was an unsigned variable, causing negative error codes to turn
> into positive values, which are interpreted as an amount of succesfully
> corrected bitflips (and thus not an error).
> 
> In particular, this resulted in that if the elm reports uncorrectable
> errors (-EBADMSG), the MTD layer (and UBI) falsely succeeded.
> 
> Signed-off-by: Guido Martínez <gu...@vanguardiasur.com.ar>
> Reviewed-by: Stefan Roese <s...@denx.de>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to