WARNING: line length of 87 exceeds 80 columns #68: FILE: drivers/hid/bpf/hid_bpf_dispatch.c:663: + err = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &hid_bpf_kfunc_set); WARNING: line length of 92 exceeds 80 columns #75: FILE: drivers/hid/bpf/hid_bpf_dispatch.c:669: + err = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SYSCALL, &hid_bpf_syscall_kfunc_set); WARNING: line length of 84 exceeds 80 columns #88: FILE: fs/bpf_fs_kfuncs.c:182: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &bpf_fs_kfunc_set); CHECK: Please use a blank line after function/struct/union/enum declarations #148: FILE: include/linux/btf.h:641: } +static inline int register_btf_kfunc_id_set(enum btf_kfunc_hook hook, WARNING: line length of 83 exceeds 80 columns #161: FILE: kernel/bpf/arena.c:579: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_COMMON, &common_kfunc_set); WARNING: line length of 91 exceeds 80 columns #225: FILE: kernel/bpf/cpumask.c:475: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &cpumask_kfunc_set); WARNING: line length of 94 exceeds 80 columns #226: FILE: kernel/bpf/cpumask.c:476: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &cpumask_kfunc_set); WARNING: line length of 91 exceeds 80 columns #227: FILE: kernel/bpf/cpumask.c:477: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SYSCALL, &cpumask_kfunc_set); WARNING: line length of 91 exceeds 80 columns #244: FILE: kernel/bpf/crypto.c:384: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SCHED_ACT, &crypt_kfunc_set); WARNING: line length of 85 exceeds 80 columns #245: FILE: kernel/bpf/crypto.c:385: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_XDP, &crypt_kfunc_set); CHECK: Please don't use multiple blank lines #264: FILE: kernel/bpf/helpers.c:3073: + WARNING: line length of 84 exceeds 80 columns #265: FILE: kernel/bpf/helpers.c:3074: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &generic_kfunc_set); WARNING: line length of 86 exceeds 80 columns #266: FILE: kernel/bpf/helpers.c:3075: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TC, &generic_kfunc_set); WARNING: line length of 87 exceeds 80 columns #267: FILE: kernel/bpf/helpers.c:3076: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_XDP, &generic_kfunc_set); WARNING: line length of 94 exceeds 80 columns #268: FILE: kernel/bpf/helpers.c:3077: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &generic_kfunc_set); WARNING: line length of 91 exceeds 80 columns #269: FILE: kernel/bpf/helpers.c:3078: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SYSCALL, &generic_kfunc_set); WARNING: line length of 90 exceeds 80 columns #270: FILE: kernel/bpf/helpers.c:3079: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_CGROUP, &generic_kfunc_set); WARNING: line length of 90 exceeds 80 columns #275: FILE: kernel/bpf/helpers.c:3083: + return ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_COMMON, &common_kfunc_set); WARNING: line length of 89 exceeds 80 columns #288: FILE: kernel/bpf/map_iter.c:227: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_COMMON, &bpf_map_iter_kfunc_set); WARNING: line length of 93 exceeds 80 columns #322: FILE: kernel/trace/bpf_trace.c:3476: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_KPROBE, &bpf_kprobe_multi_kfunc_set); WARNING: line length of 92 exceeds 80 columns #337: FILE: net/bpf/test_run.c:1756: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TC, &bpf_prog_test_kfunc_set); WARNING: line length of 97 exceeds 80 columns #338: FILE: net/bpf/test_run.c:1757: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &bpf_prog_test_kfunc_set); WARNING: line length of 97 exceeds 80 columns #339: FILE: net/bpf/test_run.c:1758: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SYSCALL, &bpf_prog_test_kfunc_set); WARNING: line length of 93 exceeds 80 columns #366: FILE: net/core/filter.c:12099: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SCHED_ACT, &bpf_kfunc_set_skb); WARNING: line length of 90 exceeds 80 columns #367: FILE: net/core/filter.c:12100: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SK_SKB, &bpf_kfunc_set_skb); WARNING: line length of 97 exceeds 80 columns #368: FILE: net/core/filter.c:12101: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SOCKET_FILTER, &bpf_kfunc_set_skb); WARNING: line length of 90 exceeds 80 columns #369: FILE: net/core/filter.c:12102: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_CGROUP, &bpf_kfunc_set_skb); WARNING: line length of 87 exceeds 80 columns #370: FILE: net/core/filter.c:12103: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_LWT, &bpf_kfunc_set_skb); WARNING: line length of 93 exceeds 80 columns #371: FILE: net/core/filter.c:12104: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_NETFILTER, &bpf_kfunc_set_skb); WARNING: line length of 87 exceeds 80 columns #372: FILE: net/core/filter.c:12105: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_XDP, &bpf_kfunc_set_xdp); WARNING: line length of 93 exceeds 80 columns #373: FILE: net/core/filter.c:12106: + return ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TC, &bpf_kfunc_set_tcp_reqsk); WARNING: line length of 89 exceeds 80 columns #382: FILE: net/core/filter.c:12166: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &bpf_sk_iter_kfunc_set); WARNING: line length of 86 exceeds 80 columns #394: FILE: net/core/xdp.c:800: + return register_btf_kfunc_id_set(BTF_KFUNC_HOOK_XDP, &xdp_metadata_kfunc_set); WARNING: line length of 90 exceeds 80 columns #407: FILE: net/ipv4/bpf_tcp_ca.c:344: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &bpf_tcp_ca_kfunc_set); WARNING: line length of 87 exceeds 80 columns #432: FILE: net/ipv4/tcp_bbr.c:1180: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &tcp_bbr_kfunc_set); WARNING: line length of 89 exceeds 80 columns #445: FILE: net/ipv4/tcp_cubic.c:536: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &tcp_cubic_kfunc_set); WARNING: line length of 89 exceeds 80 columns #458: FILE: net/ipv4/tcp_dctcp.c:294: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_STRUCT_OPS, &tcp_dctcp_kfunc_set); WARNING: line length of 85 exceeds 80 columns #472: FILE: net/netfilter/nf_conntrack_bpf.c:534: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_XDP, &nf_conntrack_kfunc_set); WARNING: line length of 91 exceeds 80 columns #473: FILE: net/netfilter/nf_conntrack_bpf.c:535: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TC, &nf_conntrack_kfunc_set); WARNING: line length of 94 exceeds 80 columns #544: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:1091: + ret = register_btf_kfunc_id_set(BTF_KFUNC_HOOK_COMMON, &bpf_testmod_common_kfunc_set); WARNING: line length of 90 exceeds 80 columns #545: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:1092: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TC, &bpf_testmod_kfunc_set); WARNING: line length of 95 exceeds 80 columns #546: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:1093: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_TRACING, &bpf_testmod_kfunc_set); WARNING: line length of 95 exceeds 80 columns #547: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:1094: + ret = ret ?: register_btf_kfunc_id_set(BTF_KFUNC_HOOK_SYSCALL, &bpf_testmod_kfunc_set); total: 0 errors, 41 warnings, 2 checks, 364 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 d55ea5ae745a ("bpf: use kfunc hooks instead of program types") 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, 41 warnings, 2 checks, 364 lines checked