Skip to content

Commit a3fda7d

Browse files
soulpa7chJames Bottomley
authored andcommitted
[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>
1 parent aca898f commit a3fda7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/megaraid/megaraid_sas_base.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ megasas_clear_intr_skinny(struct megasas_register_set __iomem *regs)
596596
/*
597597
* Check if it is our interrupt
598598
*/
599-
if ((megasas_read_fw_status_reg_gen2(regs) & MFI_STATE_MASK) ==
599+
if ((megasas_read_fw_status_reg_skinny(regs) & MFI_STATE_MASK) ==
600600
MFI_STATE_FAULT) {
601601
mfiStatus = MFI_INTR_FLAG_FIRMWARE_STATE_CHANGE;
602602
} else

0 commit comments

Comments
 (0)