CHECK: Comparison to NULL could be written "!ctx.offsets" #202: FILE: arch/arm/net/bpf_jit_32.c:2167: + if (ctx.offsets == NULL) CHECK: Comparison to NULL could be written "!ctx.imms" #225: FILE: arch/arm/net/bpf_jit_32.c:2197: + if (ctx.imms == NULL) CHECK: Comparison to NULL could be written "!header" #237: FILE: arch/arm/net/bpf_jit_32.c:2220: + if (header == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #328: FILE: arch/arm64/net/bpf_jit_comp.c:2065: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #496: FILE: arch/loongarch/net/bpf_jit.c:1953: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!addrs" #826: FILE: arch/powerpc/net/bpf_jit_comp.c:183: + if (addrs == NULL) CHECK: Comparison to NULL could be written "!jit.addrs" #1118: FILE: arch/s390/net/bpf_jit_comp.c:2327: + if (jit.addrs == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #1236: FILE: arch/sparc/net/bpf_jit_comp_64.c:1515: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!header" #1262: FILE: arch/sparc/net/bpf_jit_comp_64.c:1553: + if (header == NULL) WARNING: line length of 94 exceeds 80 columns #1531: FILE: include/linux/filter.h:1317: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog); WARNING: line length of 93 exceeds 80 columns #1540: FILE: include/linux/filter.h:1459: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog) WARNING: line length of 93 exceeds 80 columns #1556: FILE: kernel/bpf/core.c:1489: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog) WARNING: line length of 96 exceeds 80 columns #1591: FILE: kernel/bpf/core.c:1540: + tmp = bpf_patch_insn_data(env, subprog_start + i, insn_buff, rewritten); WARNING: line length of 84 exceeds 80 columns #1593: FILE: kernel/bpf/core.c:1542: + tmp = bpf_patch_insn_single(clone, i, insn_buff, rewritten); WARNING: line length of 93 exceeds 80 columns #1616: FILE: kernel/bpf/core.c:1562: + /* Instructions arrays must be updated using absolute xlated offsets. WARNING: line length of 94 exceeds 80 columns #1617: FILE: kernel/bpf/core.c:1563: + * The arrays have already been adjusted by bpf_patch_insn_data() when CHECK: multiple assignments should be avoided #1771: FILE: kernel/bpf/verifier.c:23030: + env->prog = prog = orig_prog; total: 0 errors, 7 warnings, 10 checks, 1552 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 8c077e5282d4 ("bpf: Move constants blinding out of arch-specific JITs") 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, 7 warnings, 10 checks, 1552 lines checked