All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] scsi/megaraid: minor cut and paste error fixed.
@ 2013-06-26 18:03 James Georgas
  2013-06-28  5:52 ` Saxena, Sumit
  0 siblings, 1 reply; 2+ messages in thread
From: James Georgas @ 2013-06-26 18:03 UTC (permalink / raw)
  To: megaraidlinux, JBottomley; +Cc: linux-kernel, linux-scsi, James Georgas

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>
---
 drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c
index 3a9ddae..87591cd 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -583,7 +583,7 @@ megasas_clear_intr_skinny(struct megasas_register_set __iomem *regs)
 	/*
 	 * Check if it is our interrupt
 	 */
-	if ((megasas_read_fw_status_reg_gen2(regs) & MFI_STATE_MASK) ==
+	if ((megasas_read_fw_status_reg_skinny(regs) & MFI_STATE_MASK) ==
 	    MFI_STATE_FAULT) {
 		mfiStatus = MFI_INTR_FLAG_FIRMWARE_STATE_CHANGE;
 	} else
-- 
1.8.1.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* RE: [PATCH 1/1] scsi/megaraid: minor cut and paste error fixed.
  2013-06-26 18:03 [PATCH 1/1] scsi/megaraid: minor cut and paste error fixed James Georgas
@ 2013-06-28  5:52 ` Saxena, Sumit
  0 siblings, 0 replies; 2+ messages in thread
From: Saxena, Sumit @ 2013-06-28  5:52 UTC (permalink / raw)
  To: James Georgas, DL-MegaRAID Linux, JBottomley; +Cc: linux-kernel, linux-scsi

Thanks James for pointing this out, there is no harm with this change.

Acked-by: Sumit Saxena <sumit.saxena@lsi.com>

Sumit

>-----Original Message-----
>From: James Georgas [mailto:soulpa7ch@gmail.com]
>Sent: Wednesday, June 26, 2013 11:33 PM
>To: DL-MegaRAID Linux; JBottomley@parallels.com
>Cc: linux-kernel@vger.kernel.org; linux-scsi@vger.kernel.org; James
>Georgas
>Subject: [PATCH 1/1] 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>
>---
> drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
>b/drivers/scsi/megaraid/megaraid_sas_base.c
>index 3a9ddae..87591cd 100644
>--- a/drivers/scsi/megaraid/megaraid_sas_base.c
>+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
>@@ -583,7 +583,7 @@ megasas_clear_intr_skinny(struct
>megasas_register_set __iomem *regs)
> 	/*
> 	 * Check if it is our interrupt
> 	 */
>-	if ((megasas_read_fw_status_reg_gen2(regs) & MFI_STATE_MASK) ==
>+	if ((megasas_read_fw_status_reg_skinny(regs) & MFI_STATE_MASK) ==
> 	    MFI_STATE_FAULT) {
> 		mfiStatus = MFI_INTR_FLAG_FIRMWARE_STATE_CHANGE;
> 	} else
>--
>1.8.1.5
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-28  5:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 18:03 [PATCH 1/1] scsi/megaraid: minor cut and paste error fixed James Georgas
2013-06-28  5:52 ` Saxena, Sumit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.