]> git.karo-electronics.de Git - karo-tx-linux.git/commit
acpi_memhotplug.c: remove memory info from list before freeing it
authorWen Congyang <wency@cn.fujitsu.com>
Thu, 25 Oct 2012 01:14:38 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 29 Oct 2012 03:17:15 +0000 (14:17 +1100)
commit59116a6dbb1908010ddf9e9857ccaddc2eec2401
tree17102efd27e44ce8635d8b516a1166eead14283b
parent4c8a52a3ab471944a34acfc5450518d8bb86ed33
acpi_memhotplug.c: remove memory info from list before freeing it

We free info, but we forget to remove it from the list.  It will cause
unexpected problems when we access the list next time.

Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/acpi/acpi_memhotplug.c