WARNING: line length of 87 exceeds 80 columns #89: FILE: include/linux/bpf.h:1719: + u16 pages; /* Number of allocated pages */ WARNING: line length of 83 exceeds 80 columns #90: FILE: include/linux/bpf.h:1720: + u16 jited:1, /* Is our filter JIT'ed? */ WARNING: line length of 88 exceeds 80 columns #91: FILE: include/linux/bpf.h:1721: + jit_requested:1,/* archs need to JIT the prog */ WARNING: line length of 89 exceeds 80 columns #92: FILE: include/linux/bpf.h:1722: + gpl_compatible:1, /* Is filter GPL compatible? */ WARNING: line length of 88 exceeds 80 columns #93: FILE: include/linux/bpf.h:1723: + cb_access:1, /* Is control block accessed? */ WARNING: line length of 83 exceeds 80 columns #94: FILE: include/linux/bpf.h:1724: + dst_needed:1, /* Do we need dst entry? */ WARNING: line length of 91 exceeds 80 columns #95: FILE: include/linux/bpf.h:1725: + blinding_requested:1, /* needs constant blinding */ WARNING: line length of 87 exceeds 80 columns #97: FILE: include/linux/bpf.h:1727: + is_func:1, /* program is a bpf function */ WARNING: line length of 89 exceeds 80 columns #98: FILE: include/linux/bpf.h:1728: + kprobe_override:1, /* Do we override a kprobe? */ WARNING: line length of 94 exceeds 80 columns #99: FILE: include/linux/bpf.h:1729: + has_callchain_buf:1, /* callchain buffer allocated? */ WARNING: line length of 130 exceeds 80 columns #100: FILE: include/linux/bpf.h:1730: + enforce_expected_attach_type:1, /* Enforce expected_attach_type checking at attach time */ WARNING: line length of 111 exceeds 80 columns #101: FILE: include/linux/bpf.h:1731: + call_get_stack:1, /* Do we call bpf_get_stack() or bpf_get_stackid() */ WARNING: line length of 90 exceeds 80 columns #102: FILE: include/linux/bpf.h:1732: + call_get_func_ip:1, /* Do we call get_func_ip() */ WARNING: line length of 99 exceeds 80 columns #103: FILE: include/linux/bpf.h:1733: + tstamp_type_access:1, /* Accessed __sk_buff->tstamp_type */ WARNING: line length of 86 exceeds 80 columns #104: FILE: include/linux/bpf.h:1734: + sleepable:1; /* BPF program is sleepable */ WARNING: line length of 81 exceeds 80 columns #105: FILE: include/linux/bpf.h:1735: + enum bpf_prog_type type; /* Type of BPF program */ WARNING: line length of 87 exceeds 80 columns #106: FILE: include/linux/bpf.h:1736: + enum bpf_attach_type expected_attach_type; /* For some prog types */ WARNING: line length of 85 exceeds 80 columns #107: FILE: include/linux/bpf.h:1737: + u32 len; /* Number of filter blocks */ WARNING: line length of 90 exceeds 80 columns #108: FILE: include/linux/bpf.h:1738: + u32 jited_len; /* Size of jited insns in bytes */ WARNING: line length of 81 exceeds 80 columns #113: FILE: include/linux/bpf.h:1743: + const struct bpf_insn *insn); WARNING: line length of 82 exceeds 80 columns #115: FILE: include/linux/bpf.h:1745: + struct sock_fprog_kern *orig_prog; /* Original BPF program */ WARNING: line length of 99 exceeds 80 columns #137: FILE: kernel/bpf/core.c:122: + term_states = kzalloc(sizeof(*term_states), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); WARNING: line length of 109 exceeds 80 columns #141: FILE: kernel/bpf/core.c:126: + patch_call_sites = kzalloc(sizeof(*patch_call_sites), bpf_memcg_flags(GFP_KERNEL | gfp_extra_flags)); WARNING: kfree(NULL) is safe and this check is probably not required #196: FILE: kernel/bpf/core.c:317: + if (fp->term_states->patch_call_sites) + kfree(fp->term_states->patch_call_sites); total: 0 errors, 24 warnings, 0 checks, 165 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 a8fe508a6886 ("bpf: Introduce new structs and struct fields for fast path termination") 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, 24 warnings, 0 checks, 165 lines checked