projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm, hotplug: fix error handling in mem_online_node()
[deliverable/linux.git]
/
mm
/
memory_hotplug.c
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index 02159c755136ea0463f57a2a951f9cad223aceb1..78dba9f04b5b7132d6e9c4090be80e0288d1633f 100644
(file)
--- a/
mm/memory_hotplug.c
+++ b/
mm/memory_hotplug.c
@@
-521,7
+521,7
@@
int mem_online_node(int nid)
lock_memory_hotplug();
pgdat = hotadd_new_pgdat(nid, 0);
- if (pgdat) {
+ if (
!
pgdat) {
ret = -ENOMEM;
goto out;
}
This page took
0.024023 seconds
and
5
git commands to generate.