Blame SOURCES/0038-pci-root-actually-create-the-device-path-node.patch

5e6fc3
From 0d63973b32767e1c4d44c0c172ae6222d9acefff Mon Sep 17 00:00:00 2001
5e6fc3
From: Peter Jones <pjones@redhat.com>
5e6fc3
Date: Mon, 1 Oct 2018 14:33:20 -0400
5e6fc3
Subject: [PATCH 38/39] pci-root: actually create the device path node.
5e6fc3
5e6fc3
Signed-off-by: Peter Jones <pjones@redhat.com>
5e6fc3
---
5e6fc3
 src/linux-pci-root.c | 5 +----
5e6fc3
 1 file changed, 1 insertion(+), 4 deletions(-)
5e6fc3
5e6fc3
diff --git a/src/linux-pci-root.c b/src/linux-pci-root.c
5e6fc3
index 269e30e2c31..a2d9fb04a11 100644
5e6fc3
--- a/src/linux-pci-root.c
5e6fc3
+++ b/src/linux-pci-root.c
5e6fc3
@@ -87,9 +87,9 @@ static ssize_t
5e6fc3
 dp_create_pci_root(struct device *dev UNUSED,
5e6fc3
                    uint8_t *buf, ssize_t size, ssize_t off)
5e6fc3
 {
5e6fc3
+        ssize_t new = 0, sz = 0;
5e6fc3
         debug("entry buf:%p size:%zd off:%zd", buf, size, off);
5e6fc3
         debug("returning 0");
5e6fc3
-#if 0
5e6fc3
         if (dev->acpi_root.acpi_uid_str) {
5e6fc3
                 debug("creating acpi_hid_ex dp hid:0x%08x uid:\"%s\"",
5e6fc3
                       dev->acpi_root.acpi_hid,
5e6fc3
@@ -120,9 +120,6 @@ dp_create_pci_root(struct device *dev UNUSED,
5e6fc3
 
5e6fc3
         debug("returning %zd", sz);
5e6fc3
         return sz;
5e6fc3
-#else
5e6fc3
-        return 0;
5e6fc3
-#endif
5e6fc3
 }
5e6fc3
 
5e6fc3
 enum interface_type pci_root_iftypes[] = { pci_root, unknown };
5e6fc3
-- 
5e6fc3
2.17.1
5e6fc3