WARNING: line length of 88 exceeds 80 columns #27: FILE: kernel/bpf/syscall.c:6108: +static int init_btf(struct bpf_obj *obj, unsigned int btf_idx, unsigned int btf_ext_idx) WARNING: line length of 90 exceeds 80 columns #56: FILE: kernel/bpf/syscall.c:6137: + seg->sec_idxs = kcalloc(seg->sec_cnt, sizeof(*seg->sec_idxs), GFP_KERNEL); WARNING: line length of 82 exceeds 80 columns #67: FILE: kernel/bpf/syscall.c:6148: + sec_name = btf_str_by_offset(obj->btf, sec->sec_name_off); WARNING: line length of 81 exceeds 80 columns #126: FILE: kernel/bpf/syscall.c:6207: + obj->progs[ndx].sec_insn_off = sec_off / sizeof(struct bpf_insn); CHECK: Blank lines aren't necessary before a close brace '}' #132: FILE: kernel/bpf/syscall.c:6213: + + } WARNING: line length of 82 exceeds 80 columns #190: FILE: kernel/bpf/syscall.c:6271: + if (strcmp(".addr_space.1", obj->secstrings + shdr->sh_name) == 0) total: 0 errors, 5 warnings, 1 checks, 187 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 1f65284988f0 ("bpf: Add elf parsing support to the BPF_LOAD_FD subcommand") 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, 1 checks, 187 lines checked