aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-11-14 14:33:50 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-12-29 12:24:17 -0500
commit4081b77c3a86151d2eaeed9d568a34dd0982ed52 (patch)
tree02cc6b3da76ea8d7420fab41730a37dfd7a33c88 /drivers/scsi
parent273c4781529ef1bc901a27208736b0ccabd52178 (diff)
[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: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c
index 9fead7f19e22..eb79f755dad0 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.c
+++ b/drivers/scsi/ibmvscsi/ibmvfc.c
@@ -2721,7 +2721,7 @@ static irqreturn_t ibmvfc_interrupt(int irq, void *dev_instance)
2721 } else if ((async = ibmvfc_next_async_crq(vhost)) != NULL) { 2721 } else if ((async = ibmvfc_next_async_crq(vhost)) != NULL) {
2722 vio_disable_interrupts(vdev); 2722 vio_disable_interrupts(vdev);
2723 ibmvfc_handle_async(async, vhost); 2723 ibmvfc_handle_async(async, vhost);
2724 crq->valid = 0; 2724 async->valid = 0;
2725 } else 2725 } else
2726 done = 1; 2726 done = 1;
2727 } 2727 }