OpenCloudOS-Kernel/drivers/target/tcm_fc
Wei Yongjun 7875f17908 tcm_fc: 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: Nicholas Bellinger <nab@linux-iscsi.org>
2012-09-17 18:04:09 -07:00
..
Kconfig [SCSI] tcm_fc: Adding FC_FC4 provider (tcm_fc) for FCoE target (TCM - target core) support 2011-05-17 10:52:46 +04:00
Makefile tcm_fc: Makefile cleanups 2011-07-22 09:37:47 +00:00
tcm_fc.h tcm_fc: Avoid debug overhead when not debugging 2012-08-16 17:33:46 -07:00
tfc_cmd.c tcm_fc: remove unused including <generated/utsrelease.h> 2012-09-17 17:13:33 -07:00
tfc_conf.c target: Simplify fabric sense data length handling 2012-09-17 17:12:58 -07:00
tfc_io.c tcm_fc: move the dereference below the NULL test 2012-09-17 18:04:09 -07:00
tfc_sess.c tcm_fc: remove unused including <generated/utsrelease.h> 2012-09-17 17:13:33 -07:00