WARNING: line length of 83 exceeds 80 columns #52: FILE: include/linux/bpf.h:2045: + enum bpf_attach_type attach_type) WARNING: line length of 89 exceeds 80 columns #75: FILE: include/linux/bpf.h:2891: + struct bpf_prog *prog, enum bpf_attach_type attach_type) WARNING: line length of 92 exceeds 80 columns #82: FILE: include/linux/bpf.h:2897: + bool sleepable, enum bpf_attach_type attach_type) WARNING: line length of 81 exceeds 80 columns #95: FILE: kernel/bpf/bpf_iter.c:555: + bpf_link_init(&link->link, BPF_LINK_TYPE_ITER, &bpf_iter_link_lops, prog, WARNING: line length of 91 exceeds 80 columns #109: FILE: kernel/bpf/bpf_struct_ops.c:811: + &bpf_struct_ops_link_lops, prog, prog->expected_attach_type); WARNING: line length of 92 exceeds 80 columns #118: FILE: kernel/bpf/bpf_struct_ops.c:1354: + bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_map_lops, NULL, WARNING: line length of 87 exceeds 80 columns #213: FILE: kernel/bpf/syscall.c:4056: + bpf_link_init(&link->link, BPF_LINK_TYPE_PERF_EVENT, &bpf_perf_link_lops, prog, WARNING: line length of 87 exceeds 80 columns #251: FILE: kernel/bpf/syscall.c:4177: + fd = bpf_raw_tp_link_attach(prog, tp_name, cookie, prog->expected_attach_type); WARNING: line length of 98 exceeds 80 columns #270: FILE: kernel/bpf/syscall.c:5555: + ret = bpf_raw_tp_link_attach(prog, NULL, attr->link_create.tracing.cookie, WARNING: line length of 84 exceeds 80 columns #271: FILE: kernel/bpf/syscall.c:5556: + attr->link_create.attach_type); WARNING: line length of 87 exceeds 80 columns #280: FILE: kernel/bpf/syscall.c:5565: + attr->link_create.tracing.cookie, WARNING: line length of 85 exceeds 80 columns #281: FILE: kernel/bpf/syscall.c:5566: + attr->link_create.attach_type); WARNING: line length of 86 exceeds 80 columns #309: FILE: kernel/bpf/trampoline.c:678: + enum bpf_attach_type attach_type) WARNING: line length of 81 exceeds 80 columns #337: FILE: kernel/bpf/trampoline.c:768: + shim_link = cgroup_shim_alloc(prog, bpf_func, cgroup_atype, attach_type); WARNING: line length of 88 exceeds 80 columns #350: FILE: kernel/trace/bpf_trace.c:2989: + &bpf_kprobe_multi_link_lops, prog, attr->link_create.attach_type); WARNING: line length of 88 exceeds 80 columns #359: FILE: kernel/trace/bpf_trace.c:3444: + &bpf_uprobe_multi_link_lops, prog, attr->link_create.attach_type); WARNING: line length of 93 exceeds 80 columns #372: FILE: net/bpf/bpf_dummy_struct_ops.c:174: + bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_link_lops, prog, WARNING: line length of 91 exceeds 80 columns #400: FILE: net/core/sock_map.c:1869: + bpf_link_init(&sockmap_link->link, BPF_LINK_TYPE_SOCKMAP, &sock_map_link_ops, prog, WARNING: line length of 84 exceeds 80 columns #414: FILE: net/netfilter/nf_bpf_link.c:228: + bpf_link_init(&link->link, BPF_LINK_TYPE_NETFILTER, &bpf_nf_link_lops, prog, total: 0 errors, 19 warnings, 0 checks, 307 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 bcb9fc978343 ("bpf: Add attach_type in bpf_link") 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, 19 warnings, 0 checks, 307 lines checked