WARNING: line length of 86 exceeds 80 columns #84: FILE: kernel/bpf/liveness.c:1448: + /* helper/kfunc read unknown amount of bytes from fp_off until fp+0 */ WARNING: line length of 82 exceeds 80 columns #94: FILE: kernel/bpf/liveness.c:1458: + slot_lo = max_t(s32, (-fp_off - access_bytes) / STACK_SLOT_SZ, 0); WARNING: line length of 102 exceeds 80 columns #102: FILE: kernel/bpf/liveness.c:1466: + slot_lo = max_t(s32, (-fp_off - access_bytes + STACK_SLOT_SZ - 1) / STACK_SLOT_SZ, 0); WARNING: line length of 99 exceeds 80 columns #134: FILE: kernel/bpf/liveness.c:1498: + record_stack_access_off(env, instance, arg->off[i], access_bytes, frame, insn_idx); WARNING: line length of 84 exceeds 80 columns #141: FILE: kernel/bpf/liveness.c:1505: +static void record_imprecise(struct func_instance *instance, u32 mask, u32 insn_idx) WARNING: braces {} are not necessary for any arm of this statement #205: FILE: kernel/bpf/liveness.c:1569: + if (ptr->frame >= 0 && ptr->frame <= depth) { [...] + } else if (ptr->frame == ARG_IMPRECISE) { [...] WARNING: line length of 82 exceeds 80 columns #206: FILE: kernel/bpf/liveness.c:1570: + record_stack_access(env, instance, ptr, sz, ptr->frame, insn_idx); WARNING: line length of 90 exceeds 80 columns #238: FILE: kernel/bpf/liveness.c:1602: + bytes = bpf_helper_stack_access_bytes(env, insn, r - 1, insn_idx); WARNING: line length of 89 exceeds 80 columns #240: FILE: kernel/bpf/liveness.c:1604: + bytes = bpf_kfunc_stack_access_bytes(env, insn, r - 1, insn_idx); WARNING: line length of 81 exceeds 80 columns #243: FILE: kernel/bpf/liveness.c:1607: + mark_stack_read(instance, f, insn_idx, SPIS_ALL); WARNING: braces {} are not necessary for any arm of this statement #249: FILE: kernel/bpf/liveness.c:1613: + if (frame >= 0 && frame <= depth) { [...] + } else if (frame == ARG_IMPRECISE) { [...] WARNING: line length of 91 exceeds 80 columns #250: FILE: kernel/bpf/liveness.c:1614: + record_stack_access(env, instance, &at[r], bytes, frame, insn_idx); WARNING: line length of 90 exceeds 80 columns #292: FILE: kernel/bpf/liveness.c:1963: + err = mark_stack_read(instance, f, idx, SPIS_ALL); total: 0 errors, 13 warnings, 0 checks, 266 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 e318c3f038b0 ("bpf: record arg tracking results in bpf_liveness masks") 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, 13 warnings, 0 checks, 266 lines checked