CHECK: Comparison to NULL could be written "!ctx.offsets" #204: FILE: arch/arm/net/bpf_jit_32.c:2167: + if (ctx.offsets == NULL) CHECK: Comparison to NULL could be written "!ctx.imms" #227: FILE: arch/arm/net/bpf_jit_32.c:2197: + if (ctx.imms == NULL) CHECK: Comparison to NULL could be written "!header" #239: FILE: arch/arm/net/bpf_jit_32.c:2220: + if (header == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #330: FILE: arch/arm64/net/bpf_jit_comp.c:2065: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #498: FILE: arch/loongarch/net/bpf_jit.c:1964: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!addrs" #828: FILE: arch/powerpc/net/bpf_jit_comp.c:183: + if (addrs == NULL) CHECK: Comparison to NULL could be written "!jit.addrs" #1120: FILE: arch/s390/net/bpf_jit_comp.c:2343: + if (jit.addrs == NULL) CHECK: Comparison to NULL could be written "!ctx.offset" #1238: FILE: arch/sparc/net/bpf_jit_comp_64.c:1515: + if (ctx.offset == NULL) CHECK: Comparison to NULL could be written "!header" #1264: FILE: arch/sparc/net/bpf_jit_comp_64.c:1553: + if (header == NULL) WARNING: line length of 89 exceeds 80 columns #1526: FILE: include/linux/filter.h:1192: +static inline struct bpf_prog *bpf_patch_insn_data(struct bpf_verifier_env *env, u32 off, WARNING: line length of 89 exceeds 80 columns #1527: FILE: include/linux/filter.h:1193: + const struct bpf_insn *patch, u32 len) WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP #1529: FILE: include/linux/filter.h:1195: + return ERR_PTR(-ENOTSUPP); WARNING: line length of 94 exceeds 80 columns #1541: FILE: include/linux/filter.h:1325: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog); WARNING: line length of 93 exceeds 80 columns #1550: FILE: include/linux/filter.h:1467: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog) WARNING: line length of 93 exceeds 80 columns #1555: FILE: include/linux/filter.h:1472: +static inline void bpf_jit_prog_release_other(struct bpf_prog *fp, struct bpf_prog *fp_other) WARNING: line length of 93 exceeds 80 columns #1570: FILE: kernel/bpf/core.c:1510: +struct bpf_prog *bpf_jit_blind_constants(struct bpf_verifier_env *env, struct bpf_prog *prog) WARNING: line length of 96 exceeds 80 columns #1605: FILE: kernel/bpf/core.c:1561: + tmp = bpf_patch_insn_data(env, subprog_start + i, insn_buff, rewritten); WARNING: line length of 84 exceeds 80 columns #1607: FILE: kernel/bpf/core.c:1563: + tmp = bpf_patch_insn_single(clone, i, insn_buff, rewritten); WARNING: line length of 93 exceeds 80 columns #1630: FILE: kernel/bpf/core.c:1583: + /* Instructions arrays must be updated using absolute xlated offsets. WARNING: line length of 94 exceeds 80 columns #1631: FILE: kernel/bpf/core.c:1584: + * The arrays have already been adjusted by bpf_patch_insn_data() when CHECK: multiple assignments should be avoided #1785: FILE: kernel/bpf/verifier.c:23159: + env->prog = prog = orig_prog; total: 0 errors, 11 warnings, 10 checks, 1580 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 6369947ed617 ("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, 11 warnings, 10 checks, 1580 lines checked