WARNING: line length of 91 exceeds 80 columns #52: FILE: kernel/bpf/verifier.c:17910: +maybe_enforce_expected_attach_type(struct bpf_verifier_env *env, struct bpf_reg_state *reg) WARNING: line length of 106 exceeds 80 columns #59: FILE: kernel/bpf/verifier.c:17917: + if (prog_type != BPF_PROG_TYPE_CGROUP_SKB || prog->expected_attach_type != BPF_CGROUP_INET_EGRESS) WARNING: line length of 111 exceeds 80 columns #69: FILE: kernel/bpf/verifier.c:17927: +check_retval_is_bounded(struct bpf_verifier_env *env, struct bpf_retval_range range, struct bpf_reg_state *reg, WARNING: line length of 95 exceeds 80 columns #70: FILE: kernel/bpf/verifier.c:17928: + const char *reg_name, bool return_32bit, bool is_subprog, const char *exit_ctx) CHECK: Alignment should match open parenthesis #70: FILE: kernel/bpf/verifier.c:17928: +check_retval_is_bounded(struct bpf_verifier_env *env, struct bpf_retval_range range, struct bpf_reg_state *reg, + const char *reg_name, bool return_32bit, bool is_subprog, const char *exit_ctx) CHECK: Alignment should match open parenthesis #80: FILE: kernel/bpf/verifier.c:17938: + if (!is_subprog && + prog->expected_attach_type == BPF_LSM_CGROUP && WARNING: line length of 112 exceeds 80 columns #83: FILE: kernel/bpf/verifier.c:17941: + verbose(env, "Note, BPF_LSM_CGROUP that attach to void LSM hooks can't modify return value!\n"); ERROR: trailing whitespace #102: FILE: kernel/bpf/verifier.c:17958: +^I/* $ WARNING: line length of 89 exceeds 80 columns #103: FILE: kernel/bpf/verifier.c:17959: + * BPF_LSM_CGROUP LSM programs must not modify the return value of a void program WARNING: line length of 93 exceeds 80 columns #106: FILE: kernel/bpf/verifier.c:17962: + if (prog_type == BPF_PROG_TYPE_LSM && prog->expected_attach_type != BPF_LSM_CGROUP && CHECK: Alignment should match open parenthesis #107: FILE: kernel/bpf/verifier.c:17963: + if (prog_type == BPF_PROG_TYPE_LSM && prog->expected_attach_type != BPF_LSM_CGROUP && + !prog->aux->attach_func_proto->type) ERROR: trailing whitespace #114: FILE: kernel/bpf/verifier.c:17970: +^I/* $ ERROR: trailing whitespace #129: FILE: kernel/bpf/verifier.c:17985: +^Ierr = check_retval_is_bounded(env, range, reg, "R1", $ CHECK: Alignment should match open parenthesis #130: FILE: kernel/bpf/verifier.c:17986: + err = check_retval_is_bounded(env, range, reg, "R1", + return_32bit, is_subprog, exit_ctx); CHECK: Alignment should match open parenthesis #172: FILE: kernel/bpf/verifier.c:18095: + err = check_retval_is_bounded(env, range, reg, "R0", + return_32bit, is_subprog, exit_ctx); total: 3 errors, 7 warnings, 5 checks, 160 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit 9b4d7d8fd95d ("bpf: Separate bpf_throw() and bpf_exit() return value validation") 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.