WARNING: line length of 93 exceeds 80 columns #70: FILE: kernel/bpf/cgroup.c:627: +static struct bpf_link *bpf_get_anchor_link(u32 flags, u32 id_or_fd, enum bpf_prog_type type) WARNING: line length of 93 exceeds 80 columns #88: FILE: kernel/bpf/cgroup.c:645: +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 #106: FILE: kernel/bpf/cgroup.c:663: +static struct bpf_prog_list *get_prog_list(struct hlist_head *progs, struct bpf_prog *prog, WARNING: line length of 81 exceeds 80 columns #138: FILE: kernel/bpf/cgroup.c:695: + /* if there is no anchor_prog, then BPF_F_PREORDER doesn't matter WARNING: line length of 82 exceeds 80 columns #139: FILE: kernel/bpf/cgroup.c:696: + * since either prepend or append to a combined list of progs will WARNING: line length of 81 exceeds 80 columns #174: FILE: kernel/bpf/cgroup.c:731: +static int insert_pl_to_hlist(struct bpf_prog_list *pl, struct hlist_head *progs, WARNING: line length of 82 exceeds 80 columns #210: FILE: kernel/bpf/cgroup.c:768: + enum bpf_attach_type type, u32 flags, u32 id_or_fd, WARNING: line length of 95 exceeds 80 columns #255: FILE: kernel/bpf/cgroup.c:834: + err = insert_pl_to_hlist(pl, progs, prog ? : link->link.prog, flags, id_or_fd); WARNING: line length of 87 exceeds 80 columns #307: FILE: kernel/bpf/cgroup.c:1116: + struct bpf_cgroup_link *link, enum bpf_attach_type type, WARNING: line length of 88 exceeds 80 columns #379: FILE: kernel/bpf/cgroup.c:1349: + ret = cgroup_bpf_detach(cgrp, prog, attr->attach_type, attr->expected_revision); CHECK: Unnecessary parentheses around '~BPF_F_LINK_ATTACH_MASK' #411: FILE: kernel/bpf/cgroup.c:1464: + if (attr->link_create.flags & (~BPF_F_LINK_ATTACH_MASK)) WARNING: line length of 88 exceeds 80 columns #420: FILE: kernel/bpf/cgroup.c:1488: + link->type, BPF_F_ALLOW_MULTI | attr->link_create.flags, WARNING: line length of 85 exceeds 80 columns #434: 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 #491: FILE: kernel/bpf/syscall.c:4273: + if (!is_cgroup_prog_type(ptype, prog->expected_attach_type, true)) total: 0 errors, 13 warnings, 1 checks, 438 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 5932b1e095a0 ("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, 438 lines checked