tag | c439aa1ecce67a18318ba71708828cd42a179aac | |
---|---|---|
tagger | Ohad Ben-Cohen <ohad@wizery.com> | Tue Sep 18 09:39:20 2012 +0300 |
object | e352614cd3e7a5f7af7cff894a3b5a705181de21 |
A single hwspinlock fix by Wei Yongjun, which prevents potential NULL dereferences.
commit | e352614cd3e7a5f7af7cff894a3b5a705181de21 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Mon Sep 10 12:52:02 2012 +0800 |
committer | Ohad Ben-Cohen <ohad@wizery.com> | Mon Sep 10 13:19:25 2012 +0300 |
tree | 5f2ddc609cdd1e54c59f638af6a3f890aa81da0d | |
parent | 55d512e245bc7699a8800e23df1a24195dd08217 [diff] |
hwspinlock/core: 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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>