WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #36: new file mode 100644 WARNING: Improper SPDX comment style for 'tools/sched_ext/scx_simple_cap_test.bpf.c', please use '//' instead #41: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:1: +/* SPDX-License-Identifier: GPL-2.0 */ WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #41: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:1: +/* SPDX-License-Identifier: GPL-2.0 */ WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #67: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:27: +const volatile bool fifo_sched; WARNING: Missing a blank line after declarations #91: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:51: + u64 *cnt_p = bpf_map_lookup_elem(&stats, &idx); + if (cnt_p) WARNING: line length of 90 exceeds 80 columns #100: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:60: +s32 BPF_STRUCT_OPS(simple_select_cpu, struct task_struct *p, s32 prev_cpu, u64 wake_flags) WARNING: line length of 81 exceeds 80 columns #172: FILE: tools/sched_ext/scx_simple_cap_test.bpf.c:132: + p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; WARNING: Improper SPDX comment style for 'tools/sched_ext/scx_simple_cap_test.c', please use '//' instead #206: FILE: tools/sched_ext/scx_simple_cap_test.c:1: +/* SPDX-License-Identifier: GPL-2.0 */ WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 #206: FILE: tools/sched_ext/scx_simple_cap_test.c:1: +/* SPDX-License-Identifier: GPL-2.0 */ WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #232: FILE: tools/sched_ext/scx_simple_cap_test.c:27: +static volatile int exit_req; WARNING: line length of 91 exceeds 80 columns #234: FILE: tools/sched_ext/scx_simple_cap_test.c:29: +static int libbpf_print_fn(enum libbpf_print_level level, const char *format, va_list args) total: 0 errors, 11 warnings, 0 checks, 274 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 386f693e0dbb ("sched_ext: Add proof-of-concept test case") 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, 11 warnings, 0 checks, 274 lines checked