WARNING: line length of 84 exceeds 80 columns #50: FILE: include/linux/lsm_hook_defs.h:429: +LSM_HOOK(int, 0, bpf, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 87 exceeds 80 columns #72: FILE: include/linux/security.h:2252: +extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size, bool kernel); CHECK: extern prototypes should be avoided in .h files #72: FILE: include/linux/security.h:2252: +extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size, bool kernel); WARNING: line length of 88 exceeds 80 columns #263: FILE: tools/testing/selftests/bpf/progs/rcu_read_lock.c:245: +int BPF_PROG(inproper_sleepable_kfunc, int cmd, union bpf_attr *attr, unsigned int size, WARNING: line length of 84 exceeds 80 columns #277: FILE: tools/testing/selftests/bpf/progs/test_cgroup1_hierarchy.c:54: +int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 86 exceeds 80 columns #284: FILE: tools/testing/selftests/bpf/progs/test_cgroup1_hierarchy.c:60: +int BPF_PROG(lsm_s_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 93 exceeds 80 columns #297: FILE: tools/testing/selftests/bpf/progs/test_kfunc_dynptr_param.c:39: +int BPF_PROG(not_valid_dynptr, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 93 exceeds 80 columns #306: FILE: tools/testing/selftests/bpf/progs/test_kfunc_dynptr_param.c:49: +int BPF_PROG(not_ptr_to_stack, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 93 exceeds 80 columns #315: FILE: tools/testing/selftests/bpf/progs/test_kfunc_dynptr_param.c:58: +int BPF_PROG(dynptr_data_null, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 84 exceeds 80 columns #341: FILE: tools/testing/selftests/bpf/progs/test_ptr_untrusted.c:10: +int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) WARNING: line length of 84 exceeds 80 columns #354: FILE: tools/testing/selftests/bpf/progs/test_task_under_cgroup.c:52: +int BPF_PROG(lsm_run, int cmd, union bpf_attr *attr, unsigned int size, bool kernel) total: 0 errors, 10 warnings, 1 checks, 255 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 366746414a34 ("security: Propagate caller information in bpf hooks") 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, 10 warnings, 1 checks, 255 lines checked