WARNING: line length of 84 exceeds 80 columns #46: FILE: tools/lib/bpf/bpf.c:251: + attr_common.log_buf = ptr_to_u64(OPTS_GET(log_opts, log_buf, NULL)); WARNING: line length of 98 exceeds 80 columns #49: FILE: tools/lib/bpf/bpf.c:254: + fd = sys_bpf_ext_fd(BPF_MAP_CREATE, &attr, attr_sz, &attr_common, attr_common_sz); ERROR: space prohibited before that ':' (ctx:WxV) #74: FILE: tools/lib/bpf/bpf.h:48: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #76: FILE: tools/lib/bpf/bpf.h:50: +}; +#define bpf_log_opts__last_field log_true_size CHECK: Please use a blank line after function/struct/union/enum declarations #91: FILE: tools/lib/bpf/bpf.h:77: }; +#define bpf_map_create_opts__last_field log_opts total: 1 errors, 2 warnings, 2 checks, 59 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 b85f90032754 ("libbpf: Add syscall common attributes 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.