mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
e14d314c7a
Dan reported, that cleanup path in test_memcg_subtree_control()
triggers a static checker warning:
./tools/testing/selftests/cgroup/test_memcontrol.c:76 \
test_memcg_subtree_control()
error: uninitialized symbol 'child2'.
Fix this by initializing child2 and parent2 variables and
split the cleanup path into few stages.
Signed-off-by: Roman Gushchin <guro@fb.com>
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
cgroup_util.c | ||
cgroup_util.h | ||
Makefile | ||
test_core.c | ||
test_memcontrol.c |