Re: [PATCH] x86: left over fix for leak of early_ioremp

From: Ingo Molnar
Date: Thu Jan 17 2008 - 15:57:59 EST



* Yinghai Lu <Yinghai.Lu@xxxxxxx> wrote:

> && (!max_entries || count++ < max_entries))
> - if (handler(entry, table_end))
> + if (handler(entry, table_end)) {
> + acpi_os_unmap_memory(table_header, table_header->length);
> return -EINVAL;
> + }

> + acpi_os_unmap_memory(table, table->length);

> }
> + dmi_iounmap(p, 0x10000);

thanks, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/