On Saturday 26 August 2006 20:21, Om Narasimhan wrote:I have compiled it with .config files resulting from targets
> Hi,
> This patch fixes one memory leak in drivers/acpi/acpi_memhotplug.c
> Replaces all kmalloc() calls succeeded by memset() to kzalloc() calls.
> Applies cleanly to 2.6.18-rc4. Compile tested.
Compile testing is more effective is you use a .config that
builds each of the source files changed.
> diff --git a/drivers/acpi/acpi_memhotplug.c b/drivers/acpi/acpi_memhotplug.cThis surprises me. This patch is against 2.6.18-rc4, git-pull -ed today morning.
> index b0d4b14..eb8a5da 100644
> --- a/drivers/acpi/acpi_memhotplug.c
> +++ b/drivers/acpi/acpi_memhotplug.c
> @@ -297,6 +297,7 @@ static int acpi_memory_disable_device(st
> * Ask the VM to offline this memory range.
> * Note: Assume that this function returns zero on success
> */
> + struct acpi_memory_info *info, *n;
What tree is this patch against?
This line is already present (above the comment) in 2.6.18-rc4.