[PATCH] UBI: fix missing brace control flow

Richard Weinberger richard at nod.at
Mon Feb 23 13:21:53 PST 2015


Am 23.02.2015 um 22:07 schrieb Brian Norris:
> commit 0e707ae79ba3 ("UBI: do propagate positive error codes up") seems
> to have produced an unintended change in the control flow here.
> 
> Completely untested, but it looks obvious.
> 
> Caught by Coverity, which didn't like the indentation. CID 1271184.
> 
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> Cc: Dan Carpenter <dan.carpenter at oracle.com>
> ---
> Should go into 4.0, I expect.

Good catch, patch tested and applied!

Thank you Brian!
//richard



More information about the linux-mtd mailing list