WARNING: line length of 94 exceeds 80 columns #40: FILE: tools/lib/bpf/libbpf.c:11393: + if (!bsearch(&sym_name, data->syms, data->cnt, sizeof(*data->syms), avail_func_cmp)) { WARNING: line length of 95 exceeds 80 columns #48: FILE: tools/lib/bpf/libbpf.c:11401: + * [0] fb6a421fb615 ("kallsyms: Match symbols exactly with CONFIG_LTO_CLANG") ERROR: do not use assignment in if condition #52: FILE: tools/lib/bpf/libbpf.c:11405: + if (!(sym_sfx = strstr(sym_name, ".llvm."))) WARNING: line length of 98 exceeds 80 columns #59: FILE: tools/lib/bpf/libbpf.c:11412: + snprintf(sym_trim, sizeof(sym_trim), "%.*s", (int)(sym_sfx - sym_name), sym_name); WARNING: line length of 101 exceeds 80 columns #60: FILE: tools/lib/bpf/libbpf.c:11413: + if (!bsearch(&psym_trim, data->syms, data->cnt, sizeof(*data->syms), avail_func_cmp)) total: 1 errors, 4 warnings, 0 checks, 34 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 bbe3037a32df ("libbpf: work around kernel inconsistently stripping '.llvm.' suffix") 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.