linux/tools/testing/selftests/cgroup
YueHaibing 333d073dee selftests: cgroup: fix unsigned comparison with less than zero
'size' is unsigned, it never less than zero.

Link: https://lkml.kernel.org/r/20221105110611.28920-1-yuehaibing@huawei.com
Fixes: 6c26df84e1 ("selftests: cgroup: return -errno from cg_read()/cg_write() on failure")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Yosry Ahmed <yosryahmed@google.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Shakeel Butt <shakeelb@google.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: zefan li <lizefan.x@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-11-18 13:55:09 -08:00
..
.gitignore kselftest/cgroup: Add cpuset v2 partition root state test 2022-09-04 10:47:28 -10:00
cgroup_util.c selftests: cgroup: fix unsigned comparison with less than zero 2022-11-18 13:55:09 -08:00
cgroup_util.h Yang Shi has improved the behaviour of khugepaged collapsing of readonly 2022-05-26 12:32:41 -07:00
config mm: memcontrol: drop dead CONFIG_MEMCG_SWAP config symbol 2022-10-03 14:03:36 -07:00
Makefile kselftest/cgroup: Add cpuset v2 partition root state test 2022-09-04 10:47:28 -10:00
memcg_protection.m selftests: memcg: adjust expected reclaim values of protected cgroups 2022-05-27 09:33:45 -07:00
test_core.c selftests: cgroup: Test open-time cgroup namespace usage for migration checks 2022-01-06 11:02:29 -10:00
test_cpu.c cgroup: Add test_cpucg_max_nested() testcase 2022-04-25 07:27:31 -10:00
test_cpuset_prs.sh kselftest/cgroup: Add cpuset v2 partition root state test 2022-09-04 10:47:28 -10:00
test_freezer.c tests/cgroup: move cg_wait_for(), cg_prepare_for_wait() 2021-05-10 10:41:11 -04:00
test_kill.c tests/cgroup: test cgroup.kill 2021-05-10 10:41:11 -04:00
test_kmem.c kselftests: cgroup: update kmem test for new vmstat implementation 2021-04-30 11:20:38 -07:00
test_memcontrol.c selftests: memcg: factor out common parts of memory.{low,min} tests 2022-05-27 09:33:45 -07:00
test_stress.sh kseltest/cgroup: Make test_stress.sh work if run interactively 2022-05-13 09:33:21 -10:00
wait_inotify.c kselftest/cgroup: Add cpuset v2 partition root state test 2022-09-04 10:47:28 -10:00
with_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00