WARNING: line length of 100 exceeds 80 columns #38: FILE: include/linux/bpf.h:1253: + BPF_BRANCH_SNAPSHOT_F_COPY = 1, /* Copy branch snapshot from bpf_branch_snapshot. */ WARNING: line length of 102 exceeds 80 columns #52: FILE: include/linux/bpf_verifier.h:564: + bool copy_branch_snapshot; /* BPF_BRANCH_SNAPSHOT_F_COPY for bpf_get_branch_snapshot helper */ WARNING: line length of 97 exceeds 80 columns #69: FILE: kernel/bpf/verifier.c:11780: + verbose(env, "Flags in bpf_get_branch_snapshot helper must be const.\n"); WARNING: line length of 91 exceeds 80 columns #74: FILE: kernel/bpf/verifier.c:11785: + verbose(env, "Invalid flags in bpf_get_branch_snapshot helper.\n"); WARNING: line length of 83 exceeds 80 columns #80: FILE: kernel/bpf/verifier.c:11791: + (env->prog->expected_attach_type != BPF_TRACE_FENTRY && WARNING: line length of 83 exceeds 80 columns #81: FILE: kernel/bpf/verifier.c:11792: + env->prog->expected_attach_type != BPF_TRACE_FEXIT)) { WARNING: line length of 117 exceeds 80 columns #82: FILE: kernel/bpf/verifier.c:11793: + verbose(env, "Only fentry and fexit programs support BPF_BRANCH_SNAPSHOT_F_COPY.\n"); WARNING: line length of 81 exceeds 80 columns #86: FILE: kernel/bpf/verifier.c:11797: + env->insn_aux_data[insn_idx].copy_branch_snapshot = true; WARNING: line length of 84 exceeds 80 columns #116: FILE: kernel/trace/bpf_trace.c:1176: + entry_cnt = static_call(perf_snapshot_branch_stack)(buf, entry_cnt); WARNING: line length of 85 exceeds 80 columns #124: FILE: kernel/trace/bpf_trace.c:1184: + memcpy(buf, (void *) br->entries, entry_cnt * br_entry_size); CHECK: No space is necessary after a cast #124: FILE: kernel/trace/bpf_trace.c:1184: + memcpy(buf, (void *) br->entries, entry_cnt * br_entry_size); total: 0 errors, 10 warnings, 1 checks, 89 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 980ac8beacc2 ("bpf: Introduce BPF_BRANCH_SNAPSHOT_F_COPY flag for bpf_get_branch_snapshot helper") 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, 10 warnings, 1 checks, 89 lines checked