[Very RFC 46/46] HACK: prevent pdn's from being created
Oliver O'Halloran
oohall at gmail.com
Wed Nov 20 12:28:59 AEDT 2019
Not-Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
---
arch/powerpc/kernel/pci_dn.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/kernel/pci_dn.c b/arch/powerpc/kernel/pci_dn.c
index f790a8d06f50..0e05c1d7633a 100644
--- a/arch/powerpc/kernel/pci_dn.c
+++ b/arch/powerpc/kernel/pci_dn.c
@@ -289,6 +289,9 @@ struct pci_dn *pci_add_device_node_info(struct pci_controller *hose,
struct eeh_dev *edev;
#endif
+ pr_err("skipping adding pdn for %pOF\n", dn);
+ return NULL;
+
pdn = kzalloc(sizeof(*pdn), GFP_KERNEL);
if (pdn == NULL)
return NULL;
--
2.21.0
More information about the Linuxppc-dev
mailing list