Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4081b77c authored by Brian King's avatar Brian King Committed by James Bottomley
Browse files

[SCSI] ibmvfc: Fix oops in interrupt handler



Fixes an oops that can occur in the interrupt handler
if we get a lot of async events.

Signed-off-by: default avatarBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 273c4781
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2721,7 +2721,7 @@ static irqreturn_t ibmvfc_interrupt(int irq, void *dev_instance)
		} else if ((async = ibmvfc_next_async_crq(vhost)) != NULL) {
			vio_disable_interrupts(vdev);
			ibmvfc_handle_async(async, vhost);
			crq->valid = 0;
			async->valid = 0;
		} else
			done = 1;
	}