aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Georgas <soulpa7ch@gmail.com>2013-06-26 14:03:19 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-06-28 16:41:33 -0400
commita3fda7dd5179989dd0ead820dcebd13f956ddec1 (patch)
treee392edc713e026cf2f09724925192bcbdb696ff5
parentaca898f5d7ddcd0e7cc358a613338b009a88af80 (diff)
[SCSI] megaraid: minor cut and paste error fixed.
This looks like a cut and paste typo to me. Both of the megasas_read_fw_status_reg_* functions involved are identical though, so there was no bad behaviour. I changed it for consistency and clarity. Signed-off-by: James Georgas <soulpa7ch@gmail.com> Acked-by: Sumit Saxena <sumit.saxena@lsi.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/megaraid/megaraid_sas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 4c4abe190c77..6002d363c637 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -596,7 +596,7 @@ megasas_clear_intr_skinny(struct megasas_register_set __iomem *regs)
596 /* 596 /*
597 * Check if it is our interrupt 597 * Check if it is our interrupt
598 */ 598 */
599 if ((megasas_read_fw_status_reg_gen2(regs) & MFI_STATE_MASK) == 599 if ((megasas_read_fw_status_reg_skinny(regs) & MFI_STATE_MASK) ==
600 MFI_STATE_FAULT) { 600 MFI_STATE_FAULT) {
601 mfiStatus = MFI_INTR_FLAG_FIRMWARE_STATE_CHANGE; 601 mfiStatus = MFI_INTR_FLAG_FIRMWARE_STATE_CHANGE;
602 } else 602 } else