From: Jaehoon Chung Date: Wed, 13 Jul 2011 08:02:16 +0000 (+0900) Subject: mmc: block: fixed NULL pointer dereference X-Git-Tag: v3.1-rc1~321^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=393f9a08e2ee72e42379489a5781feaf9c406d5f;p=pandora-kernel.git mmc: block: fixed NULL pointer dereference We already check for ongoing async transfers when handling discard requests, but not in mmc_blk_issue_flush(). This patch fixes that omission. Tested with an SDHCI controller and eMMC4.41. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park Acked-by: Per Forlin Cc: Signed-off-by: Chris Ball --- Reading git-diff-tree failed