CHECK: braces {} should be used on all arms of this statement #97: FILE: mm/oom_kill.c:1371: + if (flags & BPF_OOM_FLAGS_WAIT_ON_OOM_LOCK) { [...] + } else if (!mutex_trylock(&oom_lock)) [...] WARNING: line length of 82 exceeds 80 columns #121: FILE: mm/oom_kill.c:1410: +static int bpf_declare_oom_kfunc_filter(const struct bpf_prog *prog, u32 kfunc_id) WARNING: line length of 86 exceeds 80 columns #151: FILE: mm/oom_kill.c:1438: + pr_warn("error while registering struct_ops bpf oom kfuncs: %d", err); WARNING: line length of 82 exceeds 80 columns #158: FILE: mm/oom_kill.c:1445: + pr_warn("error while registering unspec bpf oom kfuncs: %d", err); total: 0 errors, 3 warnings, 1 checks, 114 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 815c4327440d ("mm: introduce bpf_out_of_memory() BPF kfunc") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 3 warnings, 1 checks, 114 lines checked