WARNING: line length of 88 exceeds 80 columns #50: FILE: kernel/bpf/btf.c:3962: + rec = kzalloc(struct_size(rec, fields, cnt), GFP_KERNEL_ACCOUNT | __GFP_NOWARN); WARNING: line length of 81 exceeds 80 columns #59: FILE: kernel/bpf/btf.c:9023: + new_cands = kmemdup(cands, sizeof_cands(cands->cnt), GFP_KERNEL_ACCOUNT); WARNING: line length of 88 exceeds 80 columns #68: FILE: kernel/bpf/btf.c:9031: + new_cands->name = kmemdup_nul(cands->name, cands->name_len, GFP_KERNEL_ACCOUNT); WARNING: line length of 86 exceeds 80 columns #77: FILE: kernel/bpf/btf.c:9115: + new_cands = kmalloc(sizeof_cands(cands->cnt + 1), GFP_KERNEL_ACCOUNT); WARNING: line length of 97 exceeds 80 columns #95: FILE: kernel/bpf/btf.c:9257: + cands.cands = kcalloc(cc->cnt, sizeof(*cands.cands), GFP_KERNEL_ACCOUNT); WARNING: line length of 87 exceeds 80 columns #117: FILE: kernel/bpf/verifier.c:1424: + sizeof(struct bpf_reference_state), GFP_KERNEL_ACCOUNT); WARNING: line length of 83 exceeds 80 columns #153: FILE: kernel/bpf/verifier.c:2098: + elem = kzalloc(sizeof(struct bpf_verifier_stack_elem), GFP_KERNEL_ACCOUNT); WARNING: line length of 83 exceeds 80 columns #162: FILE: kernel/bpf/verifier.c:2865: + elem = kzalloc(sizeof(struct bpf_verifier_stack_elem), GFP_KERNEL_ACCOUNT); WARNING: line length of 95 exceeds 80 columns #207: FILE: kernel/bpf/verifier.c:17696: + insn_state = env->cfg.insn_state = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL_ACCOUNT); CHECK: multiple assignments should be avoided #207: FILE: kernel/bpf/verifier.c:17696: + insn_state = env->cfg.insn_state = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL_ACCOUNT); WARNING: line length of 95 exceeds 80 columns #212: FILE: kernel/bpf/verifier.c:17700: + insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL_ACCOUNT); CHECK: multiple assignments should be avoided #212: FILE: kernel/bpf/verifier.c:17700: + insn_stack = env->cfg.insn_stack = kvcalloc(insn_cnt, sizeof(int), GFP_KERNEL_ACCOUNT); CHECK: multiple assignments should be avoided #219: FILE: kernel/bpf/verifier.c:17706: + insn_postorder = env->cfg.insn_postorder = WARNING: line length of 81 exceeds 80 columns #229: FILE: kernel/bpf/verifier.c:17841: + krecord = kvcalloc(nfuncs, krec_size, GFP_KERNEL_ACCOUNT | __GFP_NOWARN); WARNING: line length of 89 exceeds 80 columns #238: FILE: kernel/bpf/verifier.c:17941: + info_aux = kcalloc(nfuncs, sizeof(*info_aux), GFP_KERNEL_ACCOUNT | __GFP_NOWARN); WARNING: line length of 90 exceeds 80 columns #256: FILE: kernel/bpf/verifier.c:19412: + backedge = kzalloc(sizeof(*backedge), GFP_KERNEL_ACCOUNT); WARNING: line length of 85 exceeds 80 columns #265: FILE: kernel/bpf/verifier.c:19476: + new_sl = kzalloc(sizeof(struct bpf_verifier_state_list), GFP_KERNEL_ACCOUNT); WARNING: line length of 85 exceeds 80 columns #281: FILE: kernel/bpf/verifier.c:22986: + state->frame[0] = kzalloc(sizeof(struct bpf_func_state), GFP_KERNEL_ACCOUNT); WARNING: line length of 94 exceeds 80 columns #290: FILE: kernel/bpf/verifier.c:23212: + prog->aux->ctx_arg_info = kmemdup_array(info, cnt, sizeof(*info), GFP_KERNEL_ACCOUNT); WARNING: line length of 90 exceeds 80 columns #323: FILE: kernel/bpf/verifier.c:24385: + env->scc_info = kvcalloc(next_scc_id, sizeof(*env->scc_info), GFP_KERNEL_ACCOUNT); total: 0 errors, 17 warnings, 3 checks, 283 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 a0d16b66e84a ("bpf: include verifier memory allocations in memcg statistics") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 17 warnings, 3 checks, 283 lines checked