From: Artem Bityutskiy Date: Wed, 28 Dec 2011 16:14:49 +0000 (+0200) Subject: mtd: always initialize retlen to zero X-Git-Tag: v3.3-rc1~119^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf075f8656524abc44ad3ff2ec3834fe76f186f;p=pandora-kernel.git mtd: always initialize retlen to zero Make sure that the retlen is set to 0 in case of error. This harmonizes drivers - some set it to 0 in some error cases and do not write anything in other error cases. Now we can do this consistently for all drivers. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed