CHECK: Comparison to NULL could be written "ctx->image" #194: FILE: arch/arm64/net/bpf_jit_comp.c:2734: + for (i = 0; i < fmod_ret->nr_nodes && ctx->image != NULL; i++) { WARNING: line length of 90 exceeds 80 columns #446: FILE: arch/x86/net/bpf_jit_comp.c:3132: + if (invoke_bpf_prog(m, &prog, tl->nodes[i], stack_size, run_ctx_off, true, WARNING: line length of 88 exceeds 80 columns #664: FILE: include/linux/bpf.h:2201: + if (fentries.nodes[i]->prog->expected_attach_type == BPF_TRACE_FSESSION) WARNING: line length of 84 exceeds 80 columns #767: FILE: kernel/bpf/bpf_struct_ops.c:839: + err = bpf_struct_ops_prepare_trampoline(tnodes, &st_link->link.node, CHECK: Alignment should match open parenthesis #768: FILE: kernel/bpf/bpf_struct_ops.c:840: + err = bpf_struct_ops_prepare_trampoline(tnodes, &st_link->link.node, &st_ops->func_models[i], WARNING: line length of 98 exceeds 80 columns #799: FILE: kernel/bpf/syscall.c:3510: + struct bpf_tracing_link *tr_link = container_of(link, struct bpf_tracing_link, link.link); WARNING: line length of 98 exceeds 80 columns #809: FILE: kernel/bpf/syscall.c:3518: + struct bpf_tracing_link *tr_link = container_of(link, struct bpf_tracing_link, link.link); WARNING: line length of 98 exceeds 80 columns #827: FILE: kernel/bpf/syscall.c:3538: + struct bpf_tracing_link *tr_link = container_of(link, struct bpf_tracing_link, link.link); WARNING: line length of 81 exceeds 80 columns #901: FILE: kernel/bpf/trampoline.c:470: + hlist_for_each_entry(node, &tr->progs_hlist[kind], tramp_hlist) { WARNING: line length of 86 exceeds 80 columns #1028: FILE: kernel/bpf/trampoline.c:841: + fslink = container_of(node, struct bpf_fsession_link, link.link.node); WARNING: line length of 99 exceeds 80 columns #1029: FILE: kernel/bpf/trampoline.c:842: + hlist_add_head(&fslink->fexit.node.tramp_hlist, &tr->progs_hlist[BPF_TRAMP_FEXIT]); WARNING: line length of 84 exceeds 80 columns #1058: FILE: kernel/bpf/trampoline.c:868: + err = __bpf_trampoline_link_prog(node, tr, tgt_prog, &trampoline_ops, NULL); WARNING: line length of 85 exceeds 80 columns #1082: FILE: kernel/bpf/trampoline.c:894: + container_of(node, struct bpf_fsession_link, link.link.node); WARNING: line length of 86 exceeds 80 columns #1105: FILE: kernel/bpf/trampoline.c:913: + err = __bpf_trampoline_unlink_prog(node, tr, tgt_prog, &trampoline_ops, NULL); WARNING: line length of 101 exceeds 80 columns #1114: FILE: kernel/bpf/trampoline.c:928: + WARN_ON_ONCE(bpf_trampoline_unlink_prog(&shim_link->link.node, shim_link->trampoline, NULL)); WARNING: line length of 81 exceeds 80 columns #1137: FILE: kernel/bpf/trampoline.c:989: + hlist_for_each_entry(node, &tr->progs_hlist[kind], tramp_hlist) { WARNING: line length of 97 exceeds 80 columns #1142: FILE: kernel/bpf/trampoline.c:993: + return container_of(node, struct bpf_shim_tramp_link, link.node); WARNING: line length of 97 exceeds 80 columns #1151: FILE: kernel/bpf/trampoline.c:1045: + err = __bpf_trampoline_link_prog(&shim_link->link.node, tr, NULL, &trampoline_ops, NULL); WARNING: line length of 84 exceeds 80 columns #1169: FILE: kernel/bpf/trampoline.c:1395: + struct bpf_tramp_nodes *tnodes, void *func_addr) total: 0 errors, 17 warnings, 2 checks, 1044 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 76f991672d79 ("bpf: Add struct bpf_tramp_node object") 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, 17 warnings, 2 checks, 1044 lines checked