Skip to content
Commit 36a45e74 authored by Wei Yongjun's avatar Wei Yongjun Committed by Tony Luck
Browse files

[IA64] kexec: Move the dereference below the NULL test

The dereference should be moved below the NULL test.

spatch with a semantic match is used to found this.
(http://coccinelle.lip6.fr/

)

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 7cd10a60
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment