CHECK: Lines should not end with a '(' #31: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:527: + asm volatile ( WARNING: unnecessary whitespace before a quoted newline #32: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:528: + ".globl uprobe_multi_error_func_int3; \n" WARNING: unnecessary whitespace before a quoted newline #33: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:529: + "uprobe_multi_error_func_int3: \n" WARNING: unnecessary whitespace before a quoted newline #34: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:530: + "int3 \n" WARNING: line length of 85 exceeds 80 columns #55: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:551: + skel->links.uprobe = bpf_program__attach_uprobe_multi(skel->progs.uprobe, -1, WARNING: line length of 93 exceeds 80 columns #56: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:552: + "/proc/self/exe", NULL, &opts); WARNING: line length of 86 exceeds 80 columns #57: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:553: + if (!ASSERT_ERR_PTR(skel->links.uprobe, "bpf_program__attach_uprobe_multi")) { WARNING: Missing a blank line after declarations #72: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:568: + unsigned long offsets[3], ref_ctr_offsets[3]; + LIBBPF_OPTS(bpf_link_create_opts, opts); WARNING: line length of 82 exceeds 80 columns #86: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:582: + err = elf_resolve_syms_offsets("/proc/self/exe", 2, (const char **) &syms, CHECK: No space is necessary after a cast #86: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:582: + err = elf_resolve_syms_offsets("/proc/self/exe", 2, (const char **) &syms, WARNING: line length of 82 exceeds 80 columns #91: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:587: + err = elf_resolve_syms_offsets("/proc/self/exe", 2, (const char **) &sema, CHECK: No space is necessary after a cast #91: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:587: + err = elf_resolve_syms_offsets("/proc/self/exe", 2, (const char **) &sema, WARNING: line length of 85 exceeds 80 columns #97: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:593: + * We attach to 3 uprobes on 2 functions, so 2 uprobes share single function, WARNING: line length of 86 exceeds 80 columns #98: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:594: + * but with different ref_ctr_offset which is not allowed and results in fail. CHECK: No space is necessary after a cast #109: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:605: + opts.uprobe_multi.offsets = (const unsigned long *) &offsets; WARNING: line length of 85 exceeds 80 columns #110: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:606: + opts.uprobe_multi.ref_ctr_offsets = (const unsigned long *) &ref_ctr_offsets; CHECK: No space is necessary after a cast #110: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:606: + opts.uprobe_multi.ref_ctr_offsets = (const unsigned long *) &ref_ctr_offsets; total: 0 errors, 12 warnings, 5 checks, 128 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 f6d7b669311b ("selftests/bpf: Add uprobe fail tests for uprobe multi") 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, 12 warnings, 5 checks, 128 lines checked