From: Dan Carpenter Date: Sat, 22 May 2010 20:16:26 +0000 (+0200) Subject: mtd: sst25l: check for null consistently X-Git-Tag: v2.6.36-rc1~301^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b81ca50974051195b11ca173da073b961f94d5;p=pandora-kernel.git mtd: sst25l: check for null consistently The rest of the function assumes that "data" can be null. I don't know the code well enough to say whether it can actually be null, but there is no harm in checking here. Signed-off-by: Dan Carpenter Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed