diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-06-13 10:00:21 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-06-15 01:14:07 +0200 |
commit | cabd3e889b5772a0dc448ddca9a4b23591640bca (patch) | |
tree | 76e447b65525320ee12742c1b97f697a908c25ad /tools/lib/bpf/libbpf.c | |
parent | b552d33c80a967a4f653b53243562f1bd4950e8c (diff) | |
download | lwn-cabd3e889b5772a0dc448ddca9a4b23591640bca.tar.gz lwn-cabd3e889b5772a0dc448ddca9a4b23591640bca.zip |
selftests/bpf: signedness bug in enable_all_controllers()
The "len" variable needs to be signed for the error handling to work
properly.
Fixes: 596092ef8bea ("selftests/bpf: enable all available cgroup v2 controllers")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions