CHECK: No space is necessary after a cast #37: FILE: kernel/bpf/syscall.c:1368: + (void) bpf_vlog_finalize(w->log, &w->attr->log_true_size); WARNING: line length of 81 exceeds 80 columns #41: FILE: kernel/bpf/syscall.c:1372: +#define DEFINE_BPF_VLOG_WRAPPER(name, common_attrs) \ WARNING: line length of 81 exceeds 80 columns #42: FILE: kernel/bpf/syscall.c:1373: + struct bpf_vlog_wrapper name __cleanup(bpf_vlog_wrapper_destructor) = { \ WARNING: line length of 81 exceeds 80 columns #43: FILE: kernel/bpf/syscall.c:1374: + .attr = common_attrs, \ WARNING: line length of 98 exceeds 80 columns #59: FILE: kernel/bpf/syscall.c:1390: + err = bpf_vlog_init(log, attr->log_level, u64_to_user_ptr(attr->log_buf), attr->log_size); WARNING: line length of 97 exceeds 80 columns #72: FILE: kernel/bpf/syscall.c:1402: +static int map_create(union bpf_attr *attr, bpfptr_t uattr, struct bpf_common_attr *common_attrs) WARNING: line length of 107 exceeds 80 columns #104: FILE: kernel/bpf/syscall.c:1432: + bpf_log(log, "btf_vmlinux_value_type_id can only be used with struct_ops maps.\n"); WARNING: line length of 134 exceeds 80 columns #108: FILE: kernel/bpf/syscall.c:1436: + bpf_log(log, "btf_vmlinux_value_type_id is mutually exclusive with btf_key_type_id and btf_value_type_id.\n"); WARNING: line length of 83 exceeds 80 columns #188: FILE: kernel/bpf/syscall.c:6207: + return __copy_common_attr_log_true_size(uattr, size, &attr->log_true_size); WARNING: line length of 95 exceeds 80 columns #201: FILE: kernel/bpf/syscall.c:6306: + ret = copy_common_attr_log_true_size(uattr_common, size_common, &common_attrs); total: 0 errors, 9 warnings, 1 checks, 175 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 f471f7f361c7 ("bpf: Add common attr support for map_create") 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, 9 warnings, 1 checks, 175 lines checked