aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 30c41fc1c996..8a2db01b903e 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1743,6 +1743,8 @@ static void __devinit quirk_nvidia_ck804_msi_ht_cap(struct pci_dev *dev)
1743 * a single one having MSI is enough to be sure that MSI are supported. 1743 * a single one having MSI is enough to be sure that MSI are supported.
1744 */ 1744 */
1745 pdev = pci_get_slot(dev->bus, 0); 1745 pdev = pci_get_slot(dev->bus, 0);
1746 if (!pdev)
1747 return;
1746 if (!msi_ht_cap_enabled(dev) && !msi_ht_cap_enabled(pdev)) { 1748 if (!msi_ht_cap_enabled(dev) && !msi_ht_cap_enabled(pdev)) {
1747 printk(KERN_WARNING "PCI: MSI quirk detected. " 1749 printk(KERN_WARNING "PCI: MSI quirk detected. "
1748 "MSI disabled on chipset %s.\n", 1750 "MSI disabled on chipset %s.\n",