CHECK: No space is necessary after a cast #63: FILE: kernel/bpf/arraymap.c:276: + *imm = (u64) array->pptrs[0]; CHECK: No space is necessary after a cast #71: FILE: kernel/bpf/arraymap.c:284: + u64 base = (u64) array->pptrs[0]; WARNING: line length of 89 exceeds 80 columns #135: FILE: kernel/bpf/fixups.c:1702: + insn_buf[1] = BPF_MOV64_PERCPU_REG(insn->dst_reg, insn->dst_reg); WARNING: line length of 86 exceeds 80 columns #139: FILE: kernel/bpf/fixups.c:1706: + new_prog = bpf_patch_insn_data(env, i + delta, insn_buf, cnt); CHECK: multiple assignments should be avoided #144: FILE: kernel/bpf/fixups.c:1711: + env->prog = prog = new_prog; WARNING: line length of 101 exceeds 80 columns #171: FILE: kernel/bpf/verifier.c:8363: + verbose(env, "R%d points to percpu_array map which cannot be used as const string\n", total: 0 errors, 3 warnings, 3 checks, 118 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 7f5a7f9e8fed ("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 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, 3 warnings, 3 checks, 118 lines checked