Prechádzať zdrojové kódy

[PATCH] acpiphp: host and p2p hotplug

I encountered the problem that when there are some hotplug
slots are under the host bridge, the hotplug slots under the
p2p bridge are not treated as hotpluggable.

This patch fixes this BUG.

Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
MUNEDA Takahiro 19 rokov pred
rodič
commit
c14424736e
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      drivers/pci/hotplug/acpiphp_glue.c

+ 0 - 1
drivers/pci/hotplug/acpiphp_glue.c

@@ -546,7 +546,6 @@ static int add_bridge(acpi_handle handle)
 	if (detect_ejectable_slots(handle) > 0) {
 		dbg("found PCI host-bus bridge with hot-pluggable slots\n");
 		add_host_bridge(handle, pci_bus);
-		return 0;
 	}
 
 	/* search P2P bridges under this host bridge */