WARNING: line length of 97 exceeds 80 columns #79: FILE: tools/lib/bpf/libbpf.c:7463: +static void try_get_fentry_func_addr(const char *func_name, struct bpf_prog_load_opts *load_attr) WARNING: line length of 90 exceeds 80 columns #81: FILE: tools/lib/bpf/libbpf.c:7465: + const char *available_functions_file = tracefs_available_filter_functions_addrs(); WARNING: line length of 92 exceeds 80 columns #90: FILE: tools/lib/bpf/libbpf.c:7474: + pr_warn("failed to open %s: %s\n", available_functions_file, errstr(errno)); WARNING: line length of 84 exceeds 80 columns #109: FILE: tools/lib/bpf/libbpf.c:7493: + /* find [func_name] optimized by compiler like [func_name].isra.0 */ WARNING: line length of 82 exceeds 80 columns #112: FILE: tools/lib/bpf/libbpf.c:7496: + strlen(sym_name) - strlen(suffix)) == 0) { CHECK: Alignment should match open parenthesis #112: FILE: tools/lib/bpf/libbpf.c:7496: + if (suffix && strncmp(sym_name, func_name, + strlen(sym_name) - strlen(suffix)) == 0) { CHECK: Alignment should match open parenthesis #129: FILE: tools/lib/bpf/libbpf.c:7554: + if (load_attr.expected_attach_type == BPF_TRACE_FENTRY || + load_attr.expected_attach_type == BPF_TRACE_FEXIT) { total: 0 errors, 5 warnings, 2 checks, 93 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 4f1164ad701f ("libbpf: Try get fentry func addr from available_filter_functions_addr") 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, 5 warnings, 2 checks, 93 lines checked