From: Wei Yongjun Date: Sun, 2 Dec 2012 13:36:22 +0000 (-0500) Subject: mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask() X-Git-Tag: v3.8-rc1~85^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709edecd4eaaa210ea9296c6d8ec5e9cedf1abe3;p=pandora-kernel.git mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask() The dereference to 'mfd' should be moved below the NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed