mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-12 08:09:56 +00:00
[SCSI] qla4xxx: initialize MSI in correct way
IRQF_SHARED flag should not be set when calling request_irq for MSI since this interrupt mechanism cannot be shared like standard INTx Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Shyam Sundar <shyam.sundar@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
3e1350c4dc
commit
61391d314e
@ -1077,7 +1077,7 @@ try_msi:
|
||||
ret = pci_enable_msi(ha->pdev);
|
||||
if (!ret) {
|
||||
ret = request_irq(ha->pdev->irq, qla4_8xxx_msi_handler,
|
||||
IRQF_SHARED, DRIVER_NAME, ha);
|
||||
0, DRIVER_NAME, ha);
|
||||
if (!ret) {
|
||||
DEBUG2(ql4_printk(KERN_INFO, ha, "MSI: Enabled.\n"));
|
||||
set_bit(AF_MSI_ENABLED, &ha->flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user