WARNING: line length of 91 exceeds 80 columns #201: FILE: kernel/bpf/verifier.c:784: + enum bpf_arg_type arg_type, int insn_idx, int parent_id, WARNING: line length of 89 exceeds 80 columns #237: FILE: kernel/bpf/verifier.c:831: + * Referenced dynptr clones have the same lifetime as the original dynptr WARNING: line length of 83 exceeds 80 columns #238: FILE: kernel/bpf/verifier.c:832: + * since bpf_dynptr_clone() does not initialize the clones like the WARNING: line length of 88 exceeds 80 columns #239: FILE: kernel/bpf/verifier.c:833: + * constructor does. If any of the dynptrs is invalidated, the rest will WARNING: line length of 95 exceeds 80 columns #240: FILE: kernel/bpf/verifier.c:834: + * also need to invalidated. Thus, they all share the same non-zero ref_obj_id. WARNING: line length of 82 exceeds 80 columns #285: FILE: kernel/bpf/verifier.c:885: + * For referenced dynptr, the clones share the same ref_obj_id and will be WARNING: line length of 81 exceeds 80 columns #286: FILE: kernel/bpf/verifier.c:886: + * invalidated too. For non-referenced dynptr, only the dynptr and slices WARNING: line length of 101 exceeds 80 columns #376: FILE: kernel/bpf/verifier.c:1566: +static struct bpf_reference_state *find_reference_state(struct bpf_verifier_state *state, int ptr_id) WARNING: line length of 86 exceeds 80 columns #438: FILE: kernel/bpf/verifier.c:8828: + err = mark_stack_slots_dynptr(env, reg, arg_type, insn_idx, parent_id, WARNING: line length of 83 exceeds 80 columns #456: FILE: kernel/bpf/verifier.c:9819: + if (spi < 0 || !state->stack[spi].spilled_ptr.id) { WARNING: line length of 85 exceeds 80 columns #496: FILE: kernel/bpf/verifier.c:10489: +static int release_reg_check(struct bpf_verifier_env *env, struct bpf_reg_state *reg, WARNING: line length of 90 exceeds 80 columns #504: FILE: kernel/bpf/verifier.c:10497: + ref_state = find_reference_state(env->cur_state, reg->ref_obj_id); WARNING: line length of 103 exceeds 80 columns #505: FILE: kernel/bpf/verifier.c:10498: + verbose(env, "Unreleased reference id=%d alloc_insn=%d when releasing id=%d\n", WARNING: line length of 88 exceeds 80 columns #551: FILE: kernel/bpf/verifier.c:10536: + bpf_for_each_spilled_reg(spi, state, reg, (1 << STACK_DYNPTR)) { WARNING: line length of 88 exceeds 80 columns #554: FILE: kernel/bpf/verifier.c:10539: + err = release_reg_check(env, reg, id, root_id, idstack); WARNING: line length of 88 exceeds 80 columns #619: FILE: kernel/bpf/verifier.c:13545: + ret = process_dynptr_func(env, regno, insn_idx, dynptr_arg_type, WARNING: line length of 82 exceeds 80 columns #620: FILE: kernel/bpf/verifier.c:13546: + meta->ref_obj_id ? meta->id : 0, WARNING: line length of 83 exceeds 80 columns #653: FILE: kernel/bpf/verifier.c:14207: + err = release_reference_nomark(env->cur_state, release_ref_obj_id); WARNING: line length of 90 exceeds 80 columns #691: FILE: kernel/bpf/verifier.c:19980: + !check_ids(old_reg->ref_obj_id, cur_reg->ref_obj_id, idmap) || WARNING: line length of 86 exceeds 80 columns #692: FILE: kernel/bpf/verifier.c:19981: + !check_ids(old_reg->parent_id, cur_reg->parent_id, idmap)) total: 0 errors, 20 warnings, 0 checks, 569 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 afde15fd4269 ("bpf: Refactor object relationship tracking and fix dynptr UAF bug") 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, 569 lines checked