CHECK: No space is necessary after a cast #37: FILE: kernel/bpf/syscall.c:1379: + (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:1383: +#define DEFINE_BPF_VLOG_WRAPPER(name, common_attrs) \ WARNING: line length of 81 exceeds 80 columns #42: FILE: kernel/bpf/syscall.c:1384: + struct bpf_vlog_wrapper name __cleanup(bpf_vlog_wrapper_destructor) = { \ WARNING: line length of 81 exceeds 80 columns #43: FILE: kernel/bpf/syscall.c:1385: + .attr = common_attrs, \ WARNING: line length of 98 exceeds 80 columns #59: FILE: kernel/bpf/syscall.c:1401: + 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:1413: +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:1443: + 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:1447: + 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 82 exceeds 80 columns #186: FILE: kernel/bpf/syscall.c:6351: + &common_attrs.log_true_size); total: 0 errors, 8 warnings, 1 checks, 161 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 99c6d6bc2318 ("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 FILE_PATH_CHANGES 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, 8 warnings, 1 checks, 161 lines checked