ibmvfc: Fix NULL return compiler warning
Subsystems (3)
PATCH 1/1 ibmvfc: Fix NULL return compiler warning
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 <[email protected]>
--- drivers/scsi/ibmvscsi/ibmvfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ibmvscsi/ibmvfc.c +1 -1
@@ -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,
Signature · 1 line
1.8.3.1
Martin K. Petersen
AppliedBrian,
Quoted 1 line
Fix up a compiler warning introduced via
54b04c99d02e
Applied to 5.7/scsi-queue, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering