diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-11-05 16:57:38 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-11-05 16:57:38 +1100 |
commit | 370707e5f8bb788a90c88a95b911990aeee57107 (patch) | |
tree | cea9b43f1f5da80fa50e8f9ed8141e10707610ac /kernel/gcov/base.c | |
parent | 03624ad9ae0fd157a9501e05efe3baf51becc89d (diff) |
kernel/taskstats.c: return -ENOMEM when alloc memory fails in add_del_listener()
For registering in add_del_listener(), when kmalloc_node() fails, need
return -ENOMEM instead of success code, and cmd_attr_register_cpumask()
wants to know about it.
After modification, give a simple common test "build -> boot up ->
kernel/controllers/cgroup/getdelays by LTP tools".
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/gcov/base.c')
0 files changed, 0 insertions, 0 deletions