WARNING: line length of 91 exceeds 80 columns #98: FILE: kernel/bpf/cgroup.c:689: +static struct bpf_prog_list *get_prog_list(struct hlist_head *progs, struct bpf_prog *prog, WARNING: line length of 97 exceeds 80 columns #99: FILE: kernel/bpf/cgroup.c:690: + struct bpf_cgroup_link *link, u32 flags, u32 id_or_fd) WARNING: line length of 81 exceeds 80 columns #166: FILE: kernel/bpf/cgroup.c:757: +static int insert_pl_to_hlist(struct bpf_prog_list *pl, struct hlist_head *progs, WARNING: line length of 82 exceeds 80 columns #167: FILE: kernel/bpf/cgroup.c:758: + struct bpf_prog *prog, struct bpf_cgroup_link *link, WARNING: line length of 82 exceeds 80 columns #203: FILE: kernel/bpf/cgroup.c:795: + enum bpf_attach_type type, u32 flags, u32 id_or_fd, WARNING: line length of 81 exceeds 80 columns #248: FILE: kernel/bpf/cgroup.c:861: + err = insert_pl_to_hlist(pl, progs, prog, link, flags, id_or_fd); WARNING: line length of 87 exceeds 80 columns #300: FILE: kernel/bpf/cgroup.c:1143: + struct bpf_cgroup_link *link, enum bpf_attach_type type, WARNING: line length of 88 exceeds 80 columns #372: FILE: kernel/bpf/cgroup.c:1376: + ret = cgroup_bpf_detach(cgrp, prog, attr->attach_type, attr->expected_revision); CHECK: Unnecessary parentheses around '~BPF_F_LINK_ATTACH_MASK' #404: FILE: kernel/bpf/cgroup.c:1491: + if (attr->link_create.flags & (~BPF_F_LINK_ATTACH_MASK)) WARNING: line length of 88 exceeds 80 columns #413: FILE: kernel/bpf/cgroup.c:1515: + link->type, BPF_F_ALLOW_MULTI | attr->link_create.flags, WARNING: line length of 85 exceeds 80 columns #427: FILE: kernel/bpf/syscall.c:4189: +static bool is_cgroup_prog_type(enum bpf_prog_type ptype, enum bpf_attach_type atype, WARNING: line length of 93 exceeds 80 columns #454: FILE: kernel/bpf/syscall.c:4239: + if (attr->attach_flags & ~(BPF_F_ATTACH_MASK_BASE | BPF_F_ATTACH_MASK_MPROG)) WARNING: line length of 82 exceeds 80 columns #485: FILE: kernel/bpf/syscall.c:4277: + if (!is_cgroup_prog_type(ptype, prog->expected_attach_type, true)) total: 0 errors, 12 warnings, 1 checks, 432 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 3fafbd7c3085 ("bpf: Implement mprog API on top of existing cgroup progs") 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, 12 warnings, 1 checks, 432 lines checked