From: Christian Riesch Date: Tue, 31 Mar 2015 21:29:22 +0000 (+0200) Subject: mtd: cfi_cmdset_0002: Initialize datum before calling map_word_load_partial X-Git-Tag: omap-for-v4.2/fixes-rc1^2~143^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=636fdbf88efe069f9951d1b7df8d3fd82060dc60;p=pandora-kernel.git mtd: cfi_cmdset_0002: Initialize datum before calling map_word_load_partial In do_otp_write we must initialize the variable datum before calling map_word_load_partial. Otherwise the upper bits of datum may be undefined, which later causes problems in chip_good called by do_write_oneword. Signed-off-by: Christian Riesch Signed-off-by: Brian Norris --- Reading git-diff-tree failed