]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: Move dereference below NULL test
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 7 Sep 2012 06:51:23 +0000 (06:51 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 7 Sep 2012 23:19:03 +0000 (16:19 -0700)
commit1c3ec79839c67e70c983cb9b4373e7e1c4c9cb1c
treefea15e5bdf28b6d3da0d7e963274b41bec21dc38
parent66612a2061475483c0416fe8a22988552f52e034
RDMA/cxgb4: Move dereference below 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>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c