提交 b893eb01 编写于 作者: B Brian King 提交者: Martin K. Petersen

scsi: ibmvfc: Fix NULL return compiler warning

Fix up a compiler warning introduced via 54b04c99d02e

Link: https://lore.kernel.org/r/1583159961-15903-1-git-send-email-brking@linux.vnet.ibm.com
Fixes: 54b04c99d02e ("scsi: ibmvfc: Avoid loss of all paths during SVC node reboot")
Signed-off-by: NBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 5848fe96
...@@ -3641,7 +3641,7 @@ static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt) ...@@ -3641,7 +3641,7 @@ static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt)
struct ibmvfc_event *evt; struct ibmvfc_event *evt;
if (vhost->discovery_threads >= disc_threads) if (vhost->discovery_threads >= disc_threads)
return NULL; return;
vhost->discovery_threads++; vhost->discovery_threads++;
evt = __ibmvfc_tgt_get_implicit_logout_evt(tgt, evt = __ibmvfc_tgt_get_implicit_logout_evt(tgt,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册