CHECK: No space is necessary after a cast #40: FILE: tools/lib/bpf/bpf.c:254: + log_buf = (__u64) OPTS_GET(opts, log_buf, NULL); WARNING: line length of 84 exceeds 80 columns #48: FILE: tools/lib/bpf/bpf.c:262: + fd = sys_bpf_extended(BPF_MAP_CREATE, &attr, attr_sz, &common_attrs, CHECK: Please use a blank line after function/struct/union/enum declarations #70: FILE: tools/lib/bpf/bpf.h:63: }; +#define bpf_map_create_opts__last_field log_size total: 0 errors, 1 warnings, 2 checks, 42 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 7cf6547127e8 ("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 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, 1 warnings, 2 checks, 42 lines checked