We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faa6d21 commit 253c892Copy full SHA for 253c892
arch/powerpc/kernel/eeh.c
@@ -1960,7 +1960,7 @@ static int eeh_debugfs_break_device(struct pci_dev *pdev)
1960
pci_err(pdev, "Going to break: %pR\n", bar);
1961
1962
if (pdev->is_virtfn) {
1963
-#ifndef CONFIG_IOV
+#ifndef CONFIG_PCI_IOV
1964
return -ENXIO;
1965
#else
1966
/*
@@ -1980,7 +1980,7 @@ static int eeh_debugfs_break_device(struct pci_dev *pdev)
1980
pos = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_SRIOV);
1981
pos += PCI_SRIOV_CTRL;
1982
bit = PCI_SRIOV_CTRL_MSE;
1983
-#endif /* !CONFIG_IOV */
+#endif /* !CONFIG_PCI_IOV */
1984
} else {
1985
bit = PCI_COMMAND_MEMORY;
1986
pos = PCI_COMMAND;
0 commit comments