megaraid_sas: remove undefined ENABLE_IRQ_POLL macro
Subsystems (3)
Chandrakanth Patil
maintainerPATCH 1/1 megaraid_sas: remove undefined ENABLE_IRQ_POLL macro
Issue:
As ENABLE_IRQ_POLL macro is undefined, the check for ENABLE_IRQ_POLL macro in ISR will always be false leads to irq polling non-functional.
Fix:
Remove ENABLE_IRQ_POLL check from isr
--- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 -- 1 file changed, 2 deletions(-)
drivers/scsi/megaraid/megaraid_sas_fusion.c +0 -2
@@ -3740,10 +3740,8 @@ static irqreturn_t megasas_isr_fusion(int irq, void *devp)if (instance->mask_interrupts)return IRQ_NONE ; -#if defined(ENABLE_IRQ_POLL )if (irq_context->irq_poll_scheduled)return IRQ_HANDLED ; -#endif if (!instance->msix_vectors) { mfiStatus = instance->instancet->clear_intr (instance);
Signature · 1 line
2.9.5
Quoted 7 lines · Chandrakanth Patil
Issue:
AsENABLE_IRQ_POLLmacro is undefined, the check forENABLE_IRQ_POLLmacro in ISR will always be false leads to irq polling non-functional.Fix:
RemoveENABLE_IRQ_POLLcheck from isr
Quoted 7 lines
Fixes a6ffd5bf6819 ("scsi: megaraid_sas: Call disable_irq from process IRQ")Cc <[email protected]> # v5.3+Signed-off-by Chandrakanth Patil <[email protected]>Signed-off-by Kashyap Desai <[email protected]>--- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 -- 1 file changed, 2 deletions(-)
Why are you not sending this to the scsi developers / maintainers?
thanks,
greg k-h
Chandrakanth Patil
maintainerHi Greg,
Sorry for the inconvenience. While circulating patch internally (within company) with cc stable enabled in patch header has caused this problem. I have sent a new patch including appropriate scsi developers and maintainers.
Thanks,
Chandrakanth Patil
Quoted 23 lines · Greg KH
Quoted 7 lines · Chandrakanth Patil
Issue:
AsENABLE_IRQ_POLLmacro is undefined, the check forENABLE_IRQ_POLLmacro in ISR will always be false leads to irq polling non-functional.Fix:
RemoveENABLE_IRQ_POLLcheck from isrQuoted 8 lines
Fixes a6ffd5bf6819 ("scsi: megaraid_sas: Call disable_irq from processIRQ")
Cc <[email protected]> # v5.3+Signed-off-by Chandrakanth Patil <[email protected]>Signed-off-by Kashyap Desai <[email protected]>--- drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 -- 1 file changed, 2 deletions(-)Why are you not sending this to the scsi developers / maintainers?
thanks,
greg k-h
Signature · 2 lines
Regards, Chandrakanth Patil