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)
commit1a49af2ca019dcb4614c32f832bbcb814b61409c
tree1ab9382a4f2433018b9a38c2449baa835373b51b
parent0798cea8c2e1afee59686c51d27d0e96b05e42d1
UBI: improve ECC error message

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>
drivers/mtd/ubi/io.c
This page took 0.025962 seconds and 5 git commands to generate.