Re: [Pcihpd-discuss] [PATCH] ACPI PCI Hotplug driver update for 2.4.19-rc2-ac2

KOCHI, Takayoshi
2002-07-20T03:32:56Z

Hi,

My colleague pointed out that the patch was missing this critical patch.
Please include this also.

On Fri, 19 Jul 2002 12:23:13 -0700
Greg KH <greg@kroah.com> wrote:

> Here's a patch against 2.4.19-rc2-ac2 that updates the ACPI PCI Hotplug
> driver to the latest version. This patch was written by Takayoshi KOCHI
> <t-kouchi@mvf.biglobe.ne.jp> and has been tested on some IBM i386, NEC
> i386, and some unnammed ia64 machines.

Thanks for update, Greg!

--- linux-2419-rc2-ac2/drivers/hotplug/acpiphp_glue.c.orig Fri Jul 19 20:08:32 2002
+++ linux-2419-rc2-ac2/drivers/hotplug/acpiphp_glue.c Fri Jul 19 20:11:29 2002
@@ -377,12 +377,13 @@
if (b->number == bus)
return b;

- if (!list_empty(&b->children))
+ if (!list_empty(&b->children)) {
/* XXX recursive call */
b = find_pci_bus(&b->children, bus);

- if (b)
- return b;
+ if (b)
+ return b;
+ }
}

return 0;

Thanks,
--
KOCHI, Takayoshi <t-kouchi@cq.jp.nec.com/t-kouchi@mvf.biglobe.ne.jp>