Skip to content

Commit

Permalink
[SCSI] megaraid: remove a spurious IRQ enable
Browse files Browse the repository at this point in the history
We took this lock with spin_lock() so we should unlock it with
spin_unlock() instead of spin_unlock_irq().  This was introduced in
f2c8dc4 "[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>
  • Loading branch information
Dan Carpenter authored and James Bottomley committed Jul 20, 2012
1 parent 9d5d93e commit 6548b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/megaraid/megaraid_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
}

out:
spin_unlock_irq(&adapter->lock);
spin_unlock(&adapter->lock);
return rval;
}

Expand Down

0 comments on commit 6548b0e

Please sign in to comment.