From: Brian Norris Date: Sat, 28 Feb 2015 10:02:30 +0000 (-0800) Subject: mtd: nand: fully initialize mtd_oob_ops X-Git-Tag: omap-for-v4.1/fixes-rc1~47^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec56dc4a1489d5b1d23d1c019b76a69ce153805;p=pandora-kernel.git mtd: nand: fully initialize mtd_oob_ops We're not initializing the ooblen field. Our users don't care, since they check that oobbuf == NULL first, but it's good practice to zero unused fields out. We can drop the NULL initializations since we're memset()ing the whole thing. Noticed by Coverity, CID #200821, #200822 Signed-off-by: Brian Norris --- Reading git-diff-tree failed