Re: [PATCH 04/05] sata_mv: msi masking fix (v2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lord wrote:
@@ -3414,9 +3423,9 @@
    if (rc)
        return rc;

-    /* Enable interrupts */
-    if (msi && pci_enable_msi(pdev))
-        pci_intx(pdev, 1);
+    /* Enable message-switched interrupts, if requested */
+    if (msi && 0 == pci_enable_msi(pdev))
+        hpriv->hp_flags |= MV_HP_FLAG_MSI;

applied, after moving the '0' equality test to follow the pci_enable_msi() call... :)

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux