aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-27 05:00:30 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 03:58:39 -0400
commit6548b0e5b875a07e32e924b22a7df3669892c75a (patch)
treebf8d735348313a477c3df35be2ea0454ee7dd8a5
parent9d5d93e32a365f962fb26ebd19c0b4a392f38e64 (diff)
[SCSI] megaraid: remove a spurious IRQ enable
We took this lock with spin_lock() so we should unlock it with spin_unlock() instead of spin_unlock_irq(). This was introduced in f2c8dc402b "[SCSI] megaraid_mbox: remove scsi_assign_lock usage". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/megaraid/megaraid_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c
index 35bd13879fed..54b1c5bb310f 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
2731 } 2731 }
2732 2732
2733 out: 2733 out:
2734 spin_unlock_irq(&adapter->lock); 2734 spin_unlock(&adapter->lock);
2735 return rval; 2735 return rval;
2736} 2736}
2737 2737