CHECK: Comparison to NULL could be written "!ctx.offsets" #150: FILE: arch/arm/net/bpf_jit_32.c:2167: + if (ctx.offsets == NULL) CHECK: Comparison to NULL could be written "!ctx.imms" #173: FILE: arch/arm/net/bpf_jit_32.c:2197: + if (ctx.imms == NULL) CHECK: Comparison to NULL could be written "!header" #185: FILE: arch/arm/net/bpf_jit_32.c:2220: + if (header == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #276: FILE: arch/arm64/net/bpf_jit_comp.c:2065: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #424: FILE: arch/loongarch/net/bpf_jit.c:1953: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!addrs" #694: FILE: arch/powerpc/net/bpf_jit_comp.c:183: + if (addrs == NULL) CHECK: Comparison to NULL could be written "!jit.addrs" #939: FILE: arch/s390/net/bpf_jit_comp.c:2334: + if (jit.addrs == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #1041: FILE: arch/sparc/net/bpf_jit_comp_64.c:1515: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!header" #1065: FILE: arch/sparc/net/bpf_jit_comp_64.c:1553: + if (header == NULL) CHECK: Alignment should match open parenthesis #1634: FILE: kernel/bpf/verifier.c:23089: +static int bpf_blind_insn(const struct bpf_insn *from, + const struct bpf_insn *aux, WARNING: line length of 92 exceeds 80 columns #1684: FILE: kernel/bpf/verifier.c:23139: + *to++ = BPF_ALU32_REG_OFF(from->code, from->dst_reg, BPF_REG_AX, from->off); WARNING: line length of 92 exceeds 80 columns #1698: FILE: kernel/bpf/verifier.c:23153: + *to++ = BPF_ALU64_REG_OFF(from->code, from->dst_reg, BPF_REG_AX, from->off); WARNING: line length of 81 exceeds 80 columns #1743: FILE: kernel/bpf/verifier.c:23198: + *to++ = BPF_ALU64_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ aux[1].imm); WARNING: line length of 81 exceeds 80 columns #1749: FILE: kernel/bpf/verifier.c:23204: + *to++ = BPF_ALU32_IMM(BPF_MOV, BPF_REG_AX, imm_rnd ^ aux[0].imm); WARNING: line length of 86 exceeds 80 columns #1762: FILE: kernel/bpf/verifier.c:23217: + *to++ = BPF_STX_MEM(from->code, from->dst_reg, BPF_REG_AX, from->off); WARNING: line length of 91 exceeds 80 columns #1802: FILE: kernel/bpf/verifier.c:23257: + rewritten = bpf_blind_insn(insn, aux, insn_buff, prog->aux->verifier_zext); WARNING: line length of 98 exceeds 80 columns #1818: FILE: kernel/bpf/verifier.c:23273: + /* bpf_patch_insn_data() calls adjust_insn_aux_data() to adjust insn_aux_data. The WARNING: line length of 100 exceeds 80 columns #1819: FILE: kernel/bpf/verifier.c:23274: + * indirect_target flag for the original instruction is moved to the last of the new WARNING: line length of 96 exceeds 80 columns #1820: FILE: kernel/bpf/verifier.c:23275: + * instructions, but the indirect jump target is actually the first one, so move total: 0 errors, 9 warnings, 10 checks, 1657 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 6e1e64f6797c ("bpf: Move constants blinding from JIT to verifier") 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, 9 warnings, 10 checks, 1657 lines checked