2002-07-20 03:32:56

by KOCHI, Takayoshi

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

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 <[email protected]> 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
> <[email protected]> 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 <[email protected]/[email protected]>


2002-07-26 22:53:19

by Greg KH

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

On Fri, Jul 19, 2002 at 08:36:52PM -0700, KOCHI, Takayoshi wrote:
> Hi,
>
> My colleague pointed out that the patch was missing this critical patch.
> Please include this also.

Thanks for the patch, I've added it to my tree.

greg k-h