cpuidle / ACPI: fix potential NULL pointer dereference
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 8 Oct 2012 00:40:42 +0000 (08:40 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 9 Oct 2012 02:51:27 +0000 (22:51 -0400)
The dereference should be moved below the NULL test.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Len Brown <len.brown@intel.com>

No differences found