linux-stable/tools/testing/selftests/cgroup
Roman Gushchin adb31be442 kselftest/cgroup: fix variable dereferenced before check warning
cg_name(const char *root, const char *name) is always called with
non-empty root and name arguments, so there is no sense in checking
it in the function body (after using in strlen()).

Signed-off-by: Roman Gushchin <guro@fb.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-05-30 15:29:07 -06:00
..
cgroup_util.c kselftest/cgroup: fix variable dereferenced before check warning 2018-05-30 15:29:07 -06:00
cgroup_util.h selftests: cgroup/memcontrol: add basic test for swap controls 2018-05-30 15:29:07 -06:00
Makefile
test_memcontrol.c selftests: cgroup/memcontrol: add basic test for swap controls 2018-05-30 15:29:07 -06:00