WARNING: line length of 82 exceeds 80 columns #27: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:219: + struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: line length of 88 exceeds 80 columns #46: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:238: +static void test_map_create_array(struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: line length of 95 exceeds 80 columns #53: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:245: + const char *msg = "btf_vmlinux_value_type_id can only be used with struct_ops maps.\n"; WARNING: Missing a blank line after declarations #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"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: line length of 122 exceeds 80 columns #63: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:255: + 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 #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"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #75: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:267: + const char *msg = "Invalid btf_value_type_id.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #85: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:277: + const char *msg = "Invalid map_extra.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #95: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:287: + const char *msg = "Invalid numa_node.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #106: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:298: + const char *msg = "Invalid map_type.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #114: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:306: + const char *msg = "Invalid map_token_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #125: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:317: + const char *msg = "Invalid map_name.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #133: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:325: + const char *msg = "Invalid btf_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, total: 0 errors, 13 warnings, 0 checks, 143 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 e762e7da5ec7 ("selftests/bpf: Add cases to test 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 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, 13 warnings, 0 checks, 143 lines checked