WARNING: line length of 81 exceeds 80 columns #75: FILE: kernel/bpf/syscall.c:6846: + size_t sec_idx, size_t insn_idx) CHECK: Alignment should match open parenthesis #75: FILE: kernel/bpf/syscall.c:6846: +static struct bpf_prog_obj *find_prog_by_sec_insn(const struct bpf_obj *obj, + size_t sec_idx, size_t insn_idx) WARNING: line length of 81 exceeds 80 columns #88: FILE: kernel/bpf/syscall.c:6859: + (prog->sec_idx == sec_idx && prog->sec_insn_off <= insn_idx)) WARNING: line length of 88 exceeds 80 columns #102: FILE: kernel/bpf/syscall.c:6873: +static enum libbpf_map_type section_to_libbpf_map_type(struct bpf_obj *obj, int sec_idx) WARNING: line length of 86 exceeds 80 columns #165: FILE: kernel/bpf/syscall.c:6936: + pr_warn("prog '%s': incorrect bpf_call opcode\n", prog->name); WARNING: line length of 85 exceeds 80 columns #191: FILE: kernel/bpf/syscall.c:6962: + /* global_func: sym->st_value = offset in the section, insn->imm = 0. WARNING: line length of 84 exceeds 80 columns #192: FILE: kernel/bpf/syscall.c:6963: + * local_func: sym->st_value = 0, insn->imm = offset in the section. WARNING: line length of 88 exceeds 80 columns #197: FILE: kernel/bpf/syscall.c:6968: + prog->name, sym_name, (size_t)sym->st_value, insn->imm); CHECK: Please don't use multiple blank lines #206: FILE: kernel/bpf/syscall.c:6977: + + WARNING: line length of 92 exceeds 80 columns #264: FILE: kernel/bpf/syscall.c:7035: +static int collect_prog_relocs(struct bpf_obj *obj, Elf64_Shdr *shdr, unsigned int shdr_idx) CHECK: Blank lines aren't necessary before a close brace '}' #307: FILE: kernel/bpf/syscall.c:7078: + + } total: 0 errors, 8 warnings, 3 checks, 320 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 1d8ad0b18373 ("bpf: Implement relocation collection") 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, 8 warnings, 3 checks, 320 lines checked