From: Mark Ware Date: Thu, 27 May 2010 01:45:39 +0000 (+1000) Subject: mtd: doc2000: fix uninitialized variable in doc_ecc_decode() X-Git-Tag: v2.6.36-rc1~301^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9fb67735b307a3cdf57e568b6c50c860248d1d3;p=pandora-kernel.git mtd: doc2000: fix uninitialized variable in doc_ecc_decode() 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed