aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2011-12-28 18:14:49 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-01-09 18:25:54 +0000
commit9cf075f8656524abc44ad3ff2ec3834fe76f186f (patch)
treef4d1bc3254b24d3f032134088ba83f9e79a6a01b /drivers/mtd
parentbea7fe031e5b81629f264f48335f1af74900f4b9 (diff)
downloadkernel_goldelico_gta04-9cf075f8656524abc44ad3ff2ec3834fe76f186f.zip
kernel_goldelico_gta04-9cf075f8656524abc44ad3ff2ec3834fe76f186f.tar.gz
kernel_goldelico_gta04-9cf075f8656524abc44ad3ff2ec3834fe76f186f.tar.bz2
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 <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions