mtd: doc2000: fix uninitialized variable in doc_ecc_decode()
authorMark Ware <mware@elphinstone.net>
Thu, 27 May 2010 01:45:39 +0000 (11:45 +1000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 4 Aug 2010 09:56:06 +0000 (10:56 +0100)
The variable 'syn' was being used uninitialized.  Also
fixed incorrect use of syn[] vs s[].

Tested on powerpc board with 64MiB DOC2000.

Signed-off-by: Mark Ware <mware@elphinstone.net>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found