CHECK: Alignment should match open parenthesis #45: FILE: tools/lib/bpf/libbpf.c:8464: +static int libbpf_kallsyms_parse(kallsyms_cb_t cb, void *ctx, + bool skip_if_module) WARNING: line length of 83 exceeds 80 columns #120: FILE: tools/lib/bpf/libbpf.c:11554: + return append_to_file(tracefs_kprobe_events(), "%c:%s/%s %s+0x%zx", CHECK: Blank lines aren't necessary after an open brace '{' #173: FILE: tools/lib/bpf/libbpf.c:11702: + if (strcmp(sym_name, data->func_name) == 0) { + WARNING: line length of 95 exceeds 80 columns #222: FILE: tools/lib/bpf/libbpf.c:11781: + pfd = perf_event_kprobe_open_legacy(legacy_probe, retprobe, optional_func_name, WARNING: line length of 98 exceeds 80 columns #239: FILE: tools/lib/bpf/libbpf.c:11799: + if ((err == -EADDRNOTAVAIL || (legacy && err == -EINVAL)) && optional_func_name) { WARNING: line length of 85 exceeds 80 columns #256: FILE: tools/lib/bpf/libbpf.c:11816: + err = libbpf_kallsyms_parse(find_kaddr_cb, &kaddr_ctx, true); total: 0 errors, 4 warnings, 2 checks, 239 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 44a739d1a6ed ("libbpf: Handle duplicate kprobe symbols in attach_kprobe_opts") 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, 4 warnings, 2 checks, 239 lines checked