Re: [PATCH] (for review and testing first) Implement dynamic allocated array for pnp port/io resources

2007-08-15 Thread Bjorn Helgaas
On Wednesday 15 August 2007 08:03:24 am Thomas Renninger wrote: > This is not a real feature, more a fix. > Without, PNP IO ports might not get considered. This mainly affects ACPI > system board devices with HID PNP0C02 (at least I saw this on my and > some other machines, but it may affect more..

Re: [PATCH] (for review and testing first) Implement dynamic allocated array for pnp port/io resources

2007-08-15 Thread Jean Delvare
Hi Thomas, On Wed, 15 Aug 2007 16:03:24 +0200, Thomas Renninger wrote: > I saw recent Lindentation patches for pnp. I expect they came in after > -rc2? > This one is against 2.6.23-rc2 and might not patch with latest git > repository changes then. It applied fine on top of 2.6.23-rc3-git1. I've

Re: [PATCH] (for review and testing first) Implement dynamic allocated array for pnp port/io resources

2007-08-15 Thread Pekka Enberg
Hi Thomas, On 8/15/07, Thomas Renninger <[EMAIL PROTECTED]> wrote: > +int pnp_port_alloc (struct pnp_resource_table *res) > +{ > + int ret = 0, i; > + if (res->allocated_ports == 0) { > + res->port_resource = kmalloc(sizeof(struct resource) > +

[PATCH] (for review and testing first) Implement dynamic allocated array for pnp port/io resources

2007-08-15 Thread Thomas Renninger
Hi, This is not a real feature, more a fix. Without, PNP IO ports might not get considered. This mainly affects ACPI system board devices with HID PNP0C02 (at least I saw this on my and some other machines, but it may affect more...). I expect this got introduced when resources were not handled b