WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #30: new file mode 100644 WARNING: line length of 82 exceeds 80 columns #115: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:81: + /* Freeze the top-level cgroup and enable the memory controller */ WARNING: line length of 87 exceeds 80 columns #117: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:83: + err = write_cgroup_file(cgroups[i].path, "cgroup.freeze", "1"); WARNING: line length of 90 exceeds 80 columns #121: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:87: + err = write_cgroup_file(cgroups[i].path, "cgroup.subtree_control", WARNING: line length of 85 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:98: + err = write_cgroup_file(cgroups[i].path, "memory.high", buf); WARNING: line length of 83 exceeds 80 columns #137: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:103: + write_cgroup_file(cgroups[i].path, "memory.swap.max", buf); WARNING: line length of 86 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:115: + err = write_cgroup_file(cgroups[i].path, "cgroup.procs", buf); CHECK: Unnecessary parentheses around 'pid == cgroups[i].pid' #190: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:156: + if (!ASSERT_OK(cgroups[i].victim != + (pid == cgroups[i].pid), + "correct process was killed")) { WARNING: line length of 81 exceeds 80 columns #201: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:167: + size = read_cgroup_file(cgroups[i].path, "memory.events", CHECK: Comparison to NULL could be written "!strstr" #208: FILE: tools/testing/selftests/bpf/prog_tests/test_psi.c:174: + if (!ASSERT_OK(strstr(buf, "oom_kill 1") == NULL, WARNING: line length of 81 exceeds 80 columns #274: FILE: tools/testing/selftests/bpf/progs/test_psi.c:10: +int bpf_out_of_memory(struct mem_cgroup *memcg, int order, bool wait_on_oom_lock, total: 0 errors, 9 warnings, 2 checks, 300 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 9da2a113db03 ("bpf: selftests: psi struct ops test") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 9 warnings, 2 checks, 300 lines checked