UBI: fix missing brace control flow
commit2afcfc13e6cbdee1fac8f7f8579cc674a0f7ecef
authorBrian Norris <computersforpeace@gmail.com>
Mon, 23 Feb 2015 21:07:22 +0000 (23 13:07 -0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 6 Jun 2016 23:11:13 +0000 (6 19:11 -0400)
tree2e3c29026e1960b0fc15e06a945ce046c841602f
parent920618c3d3c7fef70b0ae2689c67c7d41b62e018
UBI: fix missing brace control flow

[ Upstream commit b388e6a7a6ba988998ddd83919ae8d3debf1a13d ]

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@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/mtd/ubi/eba.c