WARNING: line length of 93 exceeds 80 columns #89: FILE: kernel/bpf/cgroup.c:680: +static struct bpf_prog *bpf_get_anchor_prog(u32 flags, u32 id_or_fd, enum bpf_prog_type type) WARNING: line length of 91 exceeds 80 columns #107: FILE: kernel/bpf/cgroup.c:698: +static struct bpf_prog_list *get_prog_list(struct hlist_head *progs, struct bpf_prog *prog, WARNING: line length of 97 exceeds 80 columns #108: FILE: kernel/bpf/cgroup.c:699: + struct bpf_cgroup_link *link, u32 flags, u32 id_or_fd) WARNING: line length of 90 exceeds 80 columns #132: FILE: kernel/bpf/cgroup.c:723: + anchor_link = bpf_get_anchor_link(flags, id_or_fd, link->link.prog->type); WARNING: line length of 81 exceeds 80 columns #175: FILE: kernel/bpf/cgroup.c:766: +static int insert_pl_to_hlist(struct bpf_prog_list *pl, struct hlist_head *progs, WARNING: line length of 82 exceeds 80 columns #176: FILE: kernel/bpf/cgroup.c:767: + struct bpf_prog *prog, struct bpf_cgroup_link *link, WARNING: line length of 82 exceeds 80 columns #212: FILE: kernel/bpf/cgroup.c:804: + enum bpf_attach_type type, u32 flags, u32 id_or_fd, WARNING: line length of 81 exceeds 80 columns #257: FILE: kernel/bpf/cgroup.c:870: + err = insert_pl_to_hlist(pl, progs, prog, link, flags, id_or_fd); WARNING: line length of 87 exceeds 80 columns #309: FILE: kernel/bpf/cgroup.c:1152: + struct bpf_cgroup_link *link, enum bpf_attach_type type, WARNING: line length of 88 exceeds 80 columns #381: FILE: kernel/bpf/cgroup.c:1385: + ret = cgroup_bpf_detach(cgrp, prog, attr->attach_type, attr->expected_revision); CHECK: Unnecessary parentheses around '~BPF_F_LINK_ATTACH_MASK' #413: FILE: kernel/bpf/cgroup.c:1500: + if (attr->link_create.flags & (~BPF_F_LINK_ATTACH_MASK)) WARNING: line length of 88 exceeds 80 columns #422: FILE: kernel/bpf/cgroup.c:1524: + link->type, BPF_F_ALLOW_MULTI | attr->link_create.flags, WARNING: line length of 85 exceeds 80 columns #436: FILE: kernel/bpf/syscall.c:4188: +static bool is_cgroup_prog_type(enum bpf_prog_type ptype, enum bpf_attach_type atype, WARNING: line length of 82 exceeds 80 columns #493: FILE: kernel/bpf/syscall.c:4273: + if (!is_cgroup_prog_type(ptype, prog->expected_attach_type, true)) total: 0 errors, 13 warnings, 1 checks, 440 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 5ad18d32ec70 ("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, 13 warnings, 1 checks, 440 lines checked