linux/tools/testing/selftests/cgroup
Gaurav Singh c4e7716b53 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
[ Upstream commit d830020656 ]

Haven't reproduced this issue. This PR is does a minor code cleanup.

Signed-off-by: Gaurav Singh <gaurav1086@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Michal Koutn <mkoutny@suse.com>
Cc: Roman Gushchin <guro@fb.com>
Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Chris Down <chris@chrisdown.name>
Link: http://lkml.kernel.org/r/20200726013808.22242-1-gaurav1086@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-26 10:31:02 +02:00
..
.gitignore cgroup: kselftests: add test_core to .gitignore 2018-09-06 12:24:47 -06:00
cgroup_util.c tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 2020-08-26 10:31:02 +02:00
cgroup_util.h Add tests for memory.oom.group 2018-09-07 16:36:01 -06:00
Makefile Add cgroup core selftests 2018-08-09 09:12:45 -06:00
test_core.c kselftest/cgroup: fix incorrect test_core skip 2019-06-25 11:35:56 +08:00
test_memcontrol.c kselftest/cgroup: fix unexpected testing failure on test_memcontrol 2019-06-25 11:35:56 +08:00