WARNING: line length of 101 exceeds 80 columns #167: 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 #183: 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 #190: 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 #229: 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 #317: FILE: kernel/bpf/liveness.c:149: + f = kvzalloc(sizeof(*f), GFP_KERNEL_ACCOUNT); WARNING: line length of 97 exceeds 80 columns #458: FILE: kernel/bpf/liveness.c:251: +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 #508: FILE: kernel/bpf/liveness.c:262: +static char *fmt_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 89 exceeds 80 columns #533: FILE: kernel/bpf/liveness.c:296: +static void log_mask_change(struct bpf_verifier_env *env, struct func_instance *instance, WARNING: line length of 97 exceeds 80 columns #542: FILE: kernel/bpf/liveness.c:308: + bpf_log(&env->log, "%s frame %d insn %d ", fmt_instance(env, instance), frame, insn_idx); WARNING: line length of 89 exceeds 80 columns #651: FILE: kernel/bpf/liveness.c:434: +static void update_instance(struct bpf_verifier_env *env, struct func_instance *instance) WARNING: line length of 83 exceeds 80 columns #764: FILE: kernel/bpf/liveness.c:496: + * Slot is alive if it is read before q->insn_idx in current func instance, WARNING: line length of 86 exceeds 80 columns #784: FILE: kernel/bpf/liveness.c:513: + alive = is_live_before(curframe_instance, q->insn_idx, rel, half_spi); WARNING: line length of 83 exceeds 80 columns #800: FILE: kernel/bpf/liveness.c:528: + /* Get callsite from verifier state, not from instance callchain */ WARNING: line length of 81 exceeds 80 columns #835: FILE: kernel/bpf/liveness.c:1194: + return mark_stack_write(instance, frame, insn_idx, mask); WARNING: line length of 100 exceeds 80 columns #854: FILE: kernel/bpf/liveness.c:1222: + err = record_stack_access_off(instance, arg->off[i], access_bytes, frame, insn_idx); WARNING: line length of 84 exceeds 80 columns #881: FILE: kernel/bpf/liveness.c:1302: + return record_stack_access(instance, ptr, sz, ptr->frame, insn_idx); WARNING: line length of 92 exceeds 80 columns #899: FILE: kernel/bpf/liveness.c:1349: + err = record_stack_access(instance, &at[r], bytes, frame, insn_idx); WARNING: line length of 81 exceeds 80 columns #949: FILE: kernel/bpf/liveness.c:1660: +static void merge_instances(struct func_instance *dst, struct func_instance *src) WARNING: line length of 98 exceeds 80 columns #955: FILE: kernel/bpf/liveness.c:1666: + /* This pass didn't touch frame f — must_write intersects with empty. */ WARNING: line length of 81 exceeds 80 columns #958: FILE: kernel/bpf/liveness.c:1669: + dst->frames[f][i].must_write = SPIS_ZERO; WARNING: line length of 95 exceeds 80 columns #962: FILE: kernel/bpf/liveness.c:1673: + /* Previous pass didn't touch frame f — take src, zero must_write. */ CHECK: Please don't use multiple blank lines #1025: FILE: kernel/bpf/liveness.c:1748: + WARNING: line length of 90 exceeds 80 columns #1093: FILE: kernel/bpf/liveness.c:1842: + entry = get_frame_masks(callee_instance, f, callee_start); WARNING: line length of 92 exceeds 80 columns #1096: FILE: kernel/bpf/liveness.c:1845: + err = mark_stack_read(instance, f, idx, entry->live_before); total: 0 errors, 23 warnings, 1 checks, 1190 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 0a1d2482e10c ("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, 23 warnings, 1 checks, 1190 lines checked