WARNING: line length of 82 exceeds 80 columns #25: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:217: + struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: Missing a blank line after declarations #30: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:222: + int fd; + LIBBPF_OPTS(bpf_log_opts, log_opts); WARNING: line length of 89 exceeds 80 columns #37: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:229: + fd = bpf_map_create(map_type, map_name, key_size, value_size, max_entries, opts); WARNING: line length of 88 exceeds 80 columns #47: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:239: +static void test_map_create_array(struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: line length of 95 exceeds 80 columns #54: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:246: + const char *msg = "btf_vmlinux_value_type_id can only be used with struct_ops maps.\n"; WARNING: Missing a blank line after declarations #55: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:247: + const char *msg = "btf_vmlinux_value_type_id can only be used with struct_ops maps.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: line length of 122 exceeds 80 columns #64: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:256: + const char *msg = "btf_vmlinux_value_type_id is mutually exclusive with btf_key_type_id and btf_value_type_id.\n"; WARNING: Missing a blank line after declarations #65: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:257: + const char *msg = "btf_vmlinux_value_type_id is mutually exclusive with btf_key_type_id and btf_value_type_id.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #76: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:268: + const char *msg = "Invalid btf_value_type_id.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #86: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:278: + const char *msg = "Invalid map_extra.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #96: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:288: + const char *msg = "Invalid numa_node.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #107: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:299: + const char *msg = "Invalid map_type.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #115: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:307: + const char *msg = "Invalid map_token_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #126: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:318: + const char *msg = "Invalid map_name.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #134: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:326: + const char *msg = "Invalid btf_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #147: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:339: + const char *hash = "DEADCODE"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #157: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:349: + const char *msg = "Invalid excl_prog_hash_size.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, total: 0 errors, 17 warnings, 0 checks, 169 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 ffd1268a9129 ("selftests/bpf: Add tests to verify map create failure log") 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, 17 warnings, 0 checks, 169 lines checked