WARNING: line length of 81 exceeds 80 columns #304: FILE: kernel/bpf/verifier.c:22208: + if (BPF_SRC(insn->code) != BPF_K || insn->src_reg != BPF_REG_0 || WARNING: line length of 92 exceeds 80 columns #321: FILE: kernel/bpf/verifier.c:22225: + if ((insn->off != 0 && insn->off != 8 && insn->off != 16) || WARNING: line length of 87 exceeds 80 columns #323: FILE: kernel/bpf/verifier.c:22227: + verbose(env, "BPF_MOV uses reserved fields\n"); WARNING: line length of 126 exceeds 80 columns #328: FILE: kernel/bpf/verifier.c:22232: + verbose(env, "addr_space_cast insn can only convert between address space 1 and 0\n"); WARNING: line length of 87 exceeds 80 columns #332: FILE: kernel/bpf/verifier.c:22236: + insn->off != 16 && insn->off != 32) || insn->imm) { WARNING: line length of 83 exceeds 80 columns #353: FILE: kernel/bpf/verifier.c:22257: + if (insn->imm != 0 || (insn->off != 0 && insn->off != 1) || WARNING: line length of 89 exceeds 80 columns #354: FILE: kernel/bpf/verifier.c:22258: + (insn->off == 1 && opcode != BPF_MOD && opcode != BPF_DIV)) { WARNING: line length of 88 exceeds 80 columns #360: FILE: kernel/bpf/verifier.c:22264: + (insn->off == 1 && opcode != BPF_MOD && opcode != BPF_DIV)) { WARNING: line length of 81 exceeds 80 columns #379: FILE: kernel/bpf/verifier.c:22283: + (insn->src_reg != BPF_PSEUDO_KFUNC_CALL && insn->off != 0) || WARNING: line length of 86 exceeds 80 columns #380: FILE: kernel/bpf/verifier.c:22284: + (insn->src_reg != BPF_REG_0 && insn->src_reg != BPF_PSEUDO_CALL && WARNING: line length of 93 exceeds 80 columns #389: FILE: kernel/bpf/verifier.c:22293: + if (insn->src_reg != BPF_REG_0 || insn->imm != 0 || insn->off != 0) { WARNING: line length of 84 exceeds 80 columns #390: FILE: kernel/bpf/verifier.c:22294: + verbose(env, "BPF_JA|BPF_X uses reserved fields\n"); WARNING: line length of 86 exceeds 80 columns #393: FILE: kernel/bpf/verifier.c:22297: + } else if (insn->src_reg != BPF_REG_0 || insn->dst_reg != BPF_REG_0 || WARNING: line length of 91 exceeds 80 columns #409: FILE: kernel/bpf/verifier.c:22313: + if (insn->code != (BPF_JMP | BPF_JCOND) || insn->src_reg != BPF_MAY_GOTO || WARNING: line length of 85 exceeds 80 columns #418: FILE: kernel/bpf/verifier.c:22322: + verbose(env, "BPF_JMP/JMP32 uses reserved fields\n"); WARNING: line length of 81 exceeds 80 columns #429: FILE: kernel/bpf/verifier.c:22333: +static int check_insn_fields(struct bpf_verifier_env *env, struct bpf_insn *insn) WARNING: line length of 93 exceeds 80 columns #436: FILE: kernel/bpf/verifier.c:22340: + if ((BPF_MODE(insn->code) != BPF_MEM && BPF_MODE(insn->code) != BPF_MEMSX) || WARNING: line length of 84 exceeds 80 columns #451: FILE: kernel/bpf/verifier.c:22355: + if (BPF_MODE(insn->code) != BPF_MEM || insn->src_reg != BPF_REG_0) { WARNING: line length of 88 exceeds 80 columns #466: FILE: kernel/bpf/verifier.c:22370: + verbose(env, "BPF_LD_[ABS|IND] uses reserved fields\n"); WARNING: line length of 84 exceeds 80 columns #513: FILE: kernel/bpf/verifier.c:22427: + verbose(env, "BPF_LD_IMM64 uses reserved fields\n"); total: 0 errors, 20 warnings, 0 checks, 501 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 4cbe237412cd ("bpf: Move checks for reserved fields out of the main pass") 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, 20 warnings, 0 checks, 501 lines checked