mfd: sta2x11: Fix potential NULL pointer dereference in __sta2x11_mfd_mask()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 2 Dec 2012 13:36:22 +0000 (08:36 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 2 Dec 2012 23:46:49 +0000 (00:46 +0100)
The dereference to 'mfd' should be moved below the NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found