diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2012-07-12 01:02:31 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-12 03:04:46 +0400 |
commit | 41b9e2d7ec3f618fd076cb3466edd0a8ebabae5a (patch) | |
tree | 5f4a6d9062f096cbbe839f5dbe14638c6e2816ff /drivers/rtc | |
parent | 213ab3f9fcfc1ba471906a4f2c24d7b21370c859 (diff) | |
download | linux-41b9e2d7ec3f618fd076cb3466edd0a8ebabae5a.tar.xz |
mm/memory_hotplug.c: release memory resources if hotadd_new_pgdat() fails
We should goto error to release memory resource if hotadd_new_pgdat()
failed.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions