Skip to contentSkip to conversation

megaraid: remove a spurious IRQ enable

PATCH New Dan Carpenter 1 participant 1 message Jul 30, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 megaraid: remove a spurious IRQ enable

This is a static checker fix. We took this lock with spin_lock() so we should unlock it with spin_unlock() instead of spin_unlock_irq().

---
Not tested.

drivers/scsi/megaraid/megaraid_mbox.c +1 -1
index ad13363..57782d9 100644
@@ -2731,7 +2731,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
 	}
 
  out:
-	spin_unlock_irq(&adapter->lock);
+	spin_unlock(&adapter->lock);
 	return rval;
 }