WARNING: line length of 101 exceeds 80 columns #183: FILE: kernel/bpf/liveness.c:87: + u32 callsite; /* call insn that invoked this subprog (subprog_start for depth 0) */ WARNING: line length of 106 exceeds 80 columns #190: FILE: kernel/bpf/liveness.c:92: + u32 callsites[MAX_CALL_FRAMES]; /* callsites[i] = call insn at frame i (for outer frame lookup) */ WARNING: line length of 82 exceeds 80 columns #200: FILE: kernel/bpf/liveness.c:100: + u32 callsites[MAX_CALL_FRAMES]; /* callsite[i] = insn calling frame i+1 */ WARNING: line length of 83 exceeds 80 columns #224: FILE: kernel/bpf/liveness.c:113: + * For depth > 0, @callsite is the call instruction index that invoked the subprog. WARNING: Prefer kvzalloc_obj over kvzalloc with sizeof #332: FILE: kernel/bpf/liveness.c:149: + f = kvzalloc(sizeof(*f), GFP_KERNEL_ACCOUNT); WARNING: line length of 97 exceeds 80 columns #438: FILE: kernel/bpf/liveness.c:255: +static int mark_stack_write(struct func_instance *instance, u32 frame, u32 insn_idx, spis_t mask) WARNING: line length of 87 exceeds 80 columns #535: FILE: kernel/bpf/liveness.c:269: +static char *fmt_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 89 exceeds 80 columns #555: FILE: kernel/bpf/liveness.c:303: +static void log_mask_change(struct bpf_verifier_env *env, struct func_instance *instance, WARNING: line length of 97 exceeds 80 columns #564: FILE: kernel/bpf/liveness.c:315: + bpf_log(&env->log, "%s frame %d insn %d ", fmt_instance(env, instance), frame, insn_idx); WARNING: line length of 89 exceeds 80 columns #673: FILE: kernel/bpf/liveness.c:441: +static void update_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 83 exceeds 80 columns #785: FILE: kernel/bpf/liveness.c:505: + * Slot is alive if it is read before q->insn_idx in current func instance, WARNING: line length of 86 exceeds 80 columns #805: FILE: kernel/bpf/liveness.c:522: + alive = is_live_before(curframe_instance, q->insn_idx, rel, half_spi); WARNING: line length of 83 exceeds 80 columns #821: FILE: kernel/bpf/liveness.c:537: + /* Get callsite from verifier state, not from instance callchain */ WARNING: line length of 88 exceeds 80 columns #846: FILE: kernel/bpf/liveness.c:1112: + env->callsite_at_stack[instance->callsites[src->frame]]; WARNING: line length of 94 exceeds 80 columns #884: FILE: kernel/bpf/liveness.c:1233: + record_stack_access_off(instance, arg->off[i], access_bytes, frame, insn_idx); WARNING: line length of 86 exceeds 80 columns #929: FILE: kernel/bpf/liveness.c:1349: + record_stack_access(instance, &at[r], bytes, frame, insn_idx); WARNING: line length of 90 exceeds 80 columns #1004: FILE: kernel/bpf/liveness.c:1740: + entry = get_frame_masks(callee_instance, f, callee_start); WARNING: line length of 92 exceeds 80 columns #1007: FILE: kernel/bpf/liveness.c:1743: + err = mark_stack_read(instance, f, idx, entry->live_before); total: 0 errors, 18 warnings, 0 checks, 1099 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 9b76f0d4739f ("bpf: simplify liveness to use (callsite, depth) keyed func_instances") 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, 18 warnings, 0 checks, 1099 lines checked