UBI: improve ECC error message
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 8 Jun 2010 07:59:07 +0000 (10:59 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 11 Jun 2010 14:23:37 +0000 (17:23 +0300)
ECC errors are quite typical errors on NAND, so it is worth improving
the UBI message and print something like

ubi_io_read: error -74 (ECC error) while reading 4096 bytes from PEB 1:4 ...

rather than

ubi_io_read: error -74 while reading 4096 bytes from PEB 1:4 ...

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found