WARNING: line length of 85 exceeds 80 columns #34: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:585: + * We attach to 3 uprobes on 2 functions, so 2 uprobes share single function, WARNING: Missing a blank line after declarations #82: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:766: + struct bpf_link **link = get_link(skel, idx); + LIBBPF_OPTS(bpf_uprobe_multi_opts, opts); CHECK: Alignment should match open parenthesis #91: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:775: + *link = bpf_program__attach_uprobe_multi(prog, 0, "/proc/self/exe", + "uprobe_session_consumer_test", WARNING: line length of 88 exceeds 80 columns #126: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:810: + if (!ASSERT_OK(uprobe_attach(skel, idx), "uprobe_attach_after")) WARNING: Prefer using '"%s...", __func__' to using 'session_consumer_test', this function's name, in a string #138: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:822: + printf("session_consumer_test before %lu after %lu\n", before, after); WARNING: line length of 89 exceeds 80 columns #143: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:827: + if (!ASSERT_OK(uprobe_attach(skel, idx), "uprobe_attach_before")) WARNING: line length of 94 exceeds 80 columns #167: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:851: + * to trigger uretprobe consumer, the uretprobe needs to be installed, WARNING: line length of 96 exceeds 80 columns #168: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:852: + * which means one of the 'return' uprobes was alive when probe was hit: WARNING: line length of 96 exceeds 80 columns #172: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:856: + * in addition if 'after' state removes everything that was installed in WARNING: line length of 96 exceeds 80 columns #173: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:857: + * 'before' state, then uprobe kernel object goes away and return uprobe WARNING: line length of 94 exceeds 80 columns #174: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:858: + * is not installed and we won't hit it even if it's in 'after' state. WARNING: line length of 92 exceeds 80 columns #176: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:860: + unsigned long installed = before & 0b1100; // is uretprobe installed WARNING: line length of 88 exceeds 80 columns #177: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c:861: + unsigned long exists = before & after; // did uprobe go away WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #259: new file mode 100644 total: 0 errors, 13 warnings, 1 checks, 272 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 5a6efb56c549 ("selftests/bpf: Add uprobe multi consumers test") 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, 1 checks, 272 lines checked