WARNING: line length of 92 exceeds 80 columns #45: FILE: tools/lib/bpf/bpf.c:249: + common_attr.log_buf = ptr_to_u64(OPTS_GET(common_attr_opts, log_buf, NULL)); WARNING: line length of 81 exceeds 80 columns #47: FILE: tools/lib/bpf/bpf.c:251: + common_attr.log_level = OPTS_GET(common_attr_opts, log_level, 0); WARNING: line length of 98 exceeds 80 columns #48: FILE: tools/lib/bpf/bpf.c:252: + fd = sys_bpf_ext_fd(BPF_MAP_CREATE, &attr, attr_sz, &common_attr, common_attr_sz); WARNING: line length of 85 exceeds 80 columns #49: FILE: tools/lib/bpf/bpf.c:253: + OPTS_SET(common_attr_opts, log_true_size, common_attr.log_true_size); ERROR: space prohibited before that ':' (ctx:WxV) #72: FILE: tools/lib/bpf/bpf.h:48: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #74: FILE: tools/lib/bpf/bpf.h:50: +}; +#define bpf_syscall_common_attr_opts__last_field log_true_size CHECK: Please use a blank line after function/struct/union/enum declarations #89: FILE: tools/lib/bpf/bpf.h:77: }; +#define bpf_map_create_opts__last_field common_attr_opts total: 1 errors, 4 warnings, 2 checks, 58 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 69c420a45344 ("libbpf: 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.