[PATCH 1/8] mtd-utils: Fix return status in mtd_torture test function

Brian Norris computersforpeace at gmail.com
Wed Jul 13 10:30:24 PDT 2016


On Tue, Apr 26, 2016 at 12:13:22AM +0200, Richard Weinberger wrote:
> From: David Oberhollenzer <david.oberhollenzer at sigma-star.at>
> 
> This patch fixes the return status of the mtd_torture function
> in libmtd.
> 
> The torture test function is currently only used by the ubiformat
> utilitiy to check if a block is bad after a write fails (blocks are
> marked bad if the function returns an error status). However, the
> way the function was written, it ALWAYS returns an error value
> irregardless of whether it failed or not.
> 
> Signed-off-by: David Oberhollenzer <david.oberhollenzer at sigma-star.at>
> Signed-off-by: Richard Weinberger <richard at nod.at>

Seems like everyone's reviewed this, but no one applied it. (Richard,
did we get you push access to mtd-utils yet?)

Applied patch 1.

Brian



More information about the linux-mtd mailing list