]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: do not print message about corruptes PEBs if we have none of them
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 30 Jul 2010 13:31:38 +0000 (16:31 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 2 Aug 2010 04:21:19 +0000 (07:21 +0300)
commit074446dc464541c039babea3cb73df0342dd798d
treea533532fd99fb4445727344d8656586deb5a8094
parent7027b559c0abc76516366a3e4c01f769d767dba3
UBI: do not print message about corruptes PEBs if we have none of them

Currently UBI prints

UBI: corrupted PEBs will be formatted

even if there are not corrupted PEBs. Fix this.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/scan.c