CHECK: No space is necessary after a cast #63: FILE: kernel/bpf/arraymap.c:264: + *imm = (u64) array->pptrs[0]; CHECK: No space is necessary after a cast #71: FILE: kernel/bpf/arraymap.c:272: + u64 base = (u64) array->pptrs[0]; WARNING: line length of 81 exceeds 80 columns #93: FILE: kernel/bpf/arraymap.c:569: + /* One exception for keyless BTF: .bss/.data/.rodata/.data..percpu map */ WARNING: line length of 85 exceeds 80 columns #136: FILE: kernel/bpf/verifier.c:9421: + verbose(env, "only array map supports direct string value access\n"); WARNING: line length of 89 exceeds 80 columns #175: FILE: kernel/bpf/verifier.c:21938: + insn_buf[1] = BPF_MOV64_PERCPU_REG(insn->dst_reg, insn->dst_reg); WARNING: line length of 86 exceeds 80 columns #179: FILE: kernel/bpf/verifier.c:21942: + new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); CHECK: multiple assignments should be avoided #184: FILE: kernel/bpf/verifier.c:21947: + env->prog = prog = new_prog; total: 0 errors, 4 warnings, 3 checks, 135 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 7f84efc8a449 ("bpf: Introduce global percpu data") 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, 4 warnings, 3 checks, 135 lines checked