OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa6d21
)
powerpc/eeh: Fix eeh eeh_debugfs_break_device() with SRIOV devices
author
Oliver O'Halloran
<oohall@gmail.com>
Thu, 26 Sep 2019 12:25:02 +0000
(22:25 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 26 Sep 2019 23:04:17 +0000
(09:04 +1000)
s/CONFIG_IOV/CONFIG_PCI_IOV/
Whoops.
Fixes:
bd6461cc7b3c
("powerpc/eeh: Add a eeh_dev_break debugfs interface")
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[mpe: Fixup the #endif comment as well]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20190926122502.14826-1-oohall@gmail.com
arch/powerpc/kernel/eeh.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/eeh.c
b/arch/powerpc/kernel/eeh.c
index
0a91dee
..
bc8a551
100644
(file)
--- a/
arch/powerpc/kernel/eeh.c
+++ b/
arch/powerpc/kernel/eeh.c
@@
-1960,7
+1960,7
@@
static int eeh_debugfs_break_device(struct pci_dev *pdev)
pci_err(pdev, "Going to break: %pR\n", bar);
if (pdev->is_virtfn) {
-#ifndef CONFIG_IOV
+#ifndef CONFIG_
PCI_
IOV
return -ENXIO;
#else
/*
@@
-1980,7
+1980,7
@@
static int eeh_debugfs_break_device(struct pci_dev *pdev)
pos = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_SRIOV);
pos += PCI_SRIOV_CTRL;
bit = PCI_SRIOV_CTRL_MSE;
-#endif /* !CONFIG_IOV */
+#endif /* !CONFIG_
PCI_
IOV */
} else {
bit = PCI_COMMAND_MEMORY;
pos = PCI_COMMAND;