Message ID | 1583159961-15903-1-git-send-email-brking@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | b893eb0141cb4b896b275d00bea2deb64f6f1eac |
Headers | show |
Series | ibmvfc: Fix NULL return compiler warning | expand |
Brian,
> Fix up a compiler warning introduced via 54b04c99d02e
Applied to 5.7/scsi-queue, thanks!
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index 84dd8c5..7da9e06 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c @@ -3641,7 +3641,7 @@ static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt) struct ibmvfc_event *evt; if (vhost->discovery_threads >= disc_threads) - return NULL; + return; vhost->discovery_threads++; evt = __ibmvfc_tgt_get_implicit_logout_evt(tgt,
Fix up a compiler warning introduced via 54b04c99d02e Fixes: 54b04c99d02e ("scsi: ibmvfc: Avoid loss of all paths during SVC node reboot") Signed-off-by: Brian King <brking@linux.vnet.ibm.com> --- drivers/scsi/ibmvscsi/ibmvfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)