WARNING: line length of 89 exceeds 80 columns #39: FILE: include/linux/bpf.h:2720: +int bpf_check(struct bpf_prog **fp, union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size, WARNING: line length of 98 exceeds 80 columns #53: FILE: include/linux/bpf_verifier.h:867: + char __user *log_buf, u32 log_size, const struct bpf_common_attr *common_attrs); WARNING: line length of 88 exceeds 80 columns #80: FILE: kernel/bpf/btf.c:5774: +static struct btf *btf_parse(const union bpf_attr *attr, bpfptr_t uattr, u32 uattr_size, WARNING: line length of 89 exceeds 80 columns #91: FILE: kernel/bpf/btf.c:5795: + err = bpf_vlog_init(&env->log, attr->btf_log_level, log_ubuf, attr->btf_log_size, WARNING: line length of 97 exceeds 80 columns #121: FILE: kernel/bpf/log.c:32: + char __user *log_buf, u32 log_size, const struct bpf_common_attr *common_attrs) WARNING: line length of 94 exceeds 80 columns #131: FILE: kernel/bpf/log.c:42: + ((u64) log_buf != common_attrs->log_buf || log_level != common_attrs->log_level || CHECK: No space is necessary after a cast #131: FILE: kernel/bpf/log.c:42: + ((u64) log_buf != common_attrs->log_buf || log_level != common_attrs->log_level || WARNING: line length of 89 exceeds 80 columns #135: FILE: kernel/bpf/log.c:46: + bpf_log(log, "Conflict log configs between bpf_attr and common_attr.\n"); WARNING: line length of 85 exceeds 80 columns #179: FILE: kernel/bpf/syscall.c:5296: +static int bpf_btf_load(const union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size, WARNING: line length of 93 exceeds 80 columns #220: FILE: kernel/bpf/verifier.c:24591: +int bpf_check(struct bpf_prog **prog, union bpf_attr *attr, bpfptr_t uattr, __u32 uattr_size, WARNING: line length of 87 exceeds 80 columns #232: FILE: kernel/bpf/verifier.c:24641: + ret = bpf_vlog_init(&env->log, attr->log_level, u64_to_user_ptr(attr->log_buf), total: 0 errors, 10 warnings, 1 checks, 164 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 ce0ad32cf891 ("bpf: Add common attr support for prog_load and btf_load") 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, 164 lines checked