]> git.karo-electronics.de Git - linux-beck.git/commit
UBI: rename a local variable
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 3 Sep 2010 11:53:23 +0000 (14:53 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 19 Oct 2010 14:19:56 +0000 (17:19 +0300)
commite0e718c281ce1dd4006681e1255535cc6f2857d4
tree14958b8e11ffd676360f8709501924ff0963b7ae
parent92e1a7d9e7e07fb1cf0cbbcdf202938d0819b54d
UBI: rename a local variable

Rename local variable 'ec_corr' into 'ec_err' to make the code a little bit
more readable. 'ec_err' is more appropriate because it sounds more like 'error
when EC was read' and it looks more logical because we use it together with
'err'. Just a minor nicification which should improve the rather complex
scanning code.

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