WARNING: line length of 101 exceeds 80 columns #158: FILE: kernel/bpf/liveness.c:87: + u32 callsite; /* call insn that invoked this subprog (subprog_start for depth 0) */ WARNING: line length of 82 exceeds 80 columns #174: FILE: kernel/bpf/liveness.c:99: + u32 callsites[MAX_CALL_FRAMES]; /* callsite[i] = insn calling frame i+1 */ WARNING: line length of 101 exceeds 80 columns #181: FILE: kernel/bpf/liveness.c:105: + DECLARE_HASHTABLE(func_instances, 8); /* maps (depth, callsite) to func_instance */ WARNING: line length of 83 exceeds 80 columns #219: FILE: kernel/bpf/liveness.c:112: + * For depth > 0, @callsite is the call instruction index that invoked the subprog. WARNING: Prefer kvzalloc_obj over kvzalloc with sizeof #307: FILE: kernel/bpf/liveness.c:148: + f = kvzalloc(sizeof(*f), GFP_KERNEL_ACCOUNT); WARNING: line length of 97 exceeds 80 columns #418: FILE: kernel/bpf/liveness.c:250: +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 #506: FILE: kernel/bpf/liveness.c:264: +static char *fmt_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 89 exceeds 80 columns #526: FILE: kernel/bpf/liveness.c:298: +static void log_mask_change(struct bpf_verifier_env *env, struct func_instance *instance, WARNING: line length of 97 exceeds 80 columns #535: FILE: kernel/bpf/liveness.c:310: + bpf_log(&env->log, "%s frame %d insn %d ", fmt_instance(env, instance), frame, insn_idx); WARNING: line length of 89 exceeds 80 columns #644: FILE: kernel/bpf/liveness.c:436: +static void update_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 83 exceeds 80 columns #757: FILE: kernel/bpf/liveness.c:498: + * Slot is alive if it is read before q->insn_idx in current func instance, WARNING: line length of 86 exceeds 80 columns #777: FILE: kernel/bpf/liveness.c:515: + alive = is_live_before(curframe_instance, q->insn_idx, rel, half_spi); WARNING: line length of 83 exceeds 80 columns #793: FILE: kernel/bpf/liveness.c:530: + /* Get callsite from verifier state, not from instance callchain */ WARNING: line length of 81 exceeds 80 columns #828: FILE: kernel/bpf/liveness.c:1199: + return mark_stack_write(instance, frame, insn_idx, mask); WARNING: line length of 100 exceeds 80 columns #847: FILE: kernel/bpf/liveness.c:1227: + err = record_stack_access_off(instance, arg->off[i], access_bytes, frame, insn_idx); WARNING: line length of 84 exceeds 80 columns #874: FILE: kernel/bpf/liveness.c:1307: + return record_stack_access(instance, ptr, sz, ptr->frame, insn_idx); WARNING: line length of 92 exceeds 80 columns #892: FILE: kernel/bpf/liveness.c:1354: + err = record_stack_access(instance, &at[r], bytes, frame, insn_idx); WARNING: line length of 90 exceeds 80 columns #969: FILE: kernel/bpf/liveness.c:1755: + entry = get_frame_masks(callee_instance, f, callee_start); WARNING: line length of 92 exceeds 80 columns #972: FILE: kernel/bpf/liveness.c:1758: + err = mark_stack_read(instance, f, idx, entry->live_before); total: 0 errors, 19 warnings, 0 checks, 1066 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 060a36df30b5 ("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, 19 warnings, 0 checks, 1066 lines checked