WARNING: line length of 82 exceeds 80 columns #38: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:217: + struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: line length of 89 exceeds 80 columns #56: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:235: +static void test_map_create_simple(struct bpf_map_create_opts *opts, const char *exp_msg) WARNING: Missing a blank line after declarations #64: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:243: + const char *msg = "Invalid use of btf_vmlinux_value_type_id.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #74: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:253: + const char *msg = "Invalid btf_value_type_id.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #84: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:263: + const char *msg = "Invalid map_extra.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #94: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:273: + const char *msg = "Invalid or offline numa_node.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #105: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:284: + const char *msg = "Invalid map_type.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #113: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:292: + const char *msg = "Invalid map_token_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, WARNING: Missing a blank line after declarations #124: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:303: + const char *msg = "Invalid map_name.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts); WARNING: Missing a blank line after declarations #132: FILE: tools/testing/selftests/bpf/prog_tests/map_init.c:311: + const char *msg = "Invalid btf_fd.\n"; + LIBBPF_OPTS(bpf_map_create_opts, opts, total: 0 errors, 10 warnings, 0 checks, 127 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 5d017a018d5d ("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, 10 warnings, 0 checks, 127 lines checked