summaryrefslogtreecommitdiff
path: root/kernel/sched
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2022-11-05 19:06:11 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-11-18 13:55:09 -0800
commit333d073dee3a6865171d43e3b0a9ff688bff5891 (patch)
treed26b3c2ff8344c44afb654698a7de9ca06177930 /kernel/sched
parentd51cf40d38cb58575eca75481fb851bf3a348d78 (diff)
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: 6c26df84e1f2 ("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>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions