WARNING: line length of 87 exceeds 80 columns #46: FILE: tools/lib/bpf/bpf.c:249: + common_attrs.log_buf = ptr_to_u64(OPTS_GET(cattr_opts, log_buf, NULL)); WARNING: line length of 100 exceeds 80 columns #49: FILE: tools/lib/bpf/bpf.c:252: + fd = sys_bpf_ext_fd(BPF_MAP_CREATE, &attr, attr_sz, &common_attrs, common_attrs_sz); ERROR: space prohibited before that ':' (ctx:WxV) #73: FILE: tools/lib/bpf/bpf.h:48: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #75: 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 #90: FILE: tools/lib/bpf/bpf.h:77: }; +#define bpf_map_create_opts__last_field cattr_opts total: 1 errors, 2 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 0ece22c435cf ("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.