WARNING: unnecessary whitespace before a quoted newline #43: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:362: + asm volatile (" \n" WARNING: unnecessary whitespace before a quoted newline #44: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:363: + ".global uprobe_test_nop5 \n" WARNING: unnecessary whitespace before a quoted newline #45: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:364: + ".type uprobe_test_nop5, STT_FUNC \n" WARNING: unnecessary whitespace before a quoted newline #46: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:365: + "uprobe_test_nop5: \n" WARNING: unnecessary whitespace before a quoted newline #47: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:366: + ".byte 0x0f, 0x1f, 0x44, 0x00, 0x00 \n" WARNING: line length of 87 exceeds 80 columns #85: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:404: + if (sscanf(line, "%p-%p r-xp %*x %*x:%*x %*u %n", start, end, &m) != 2) CHECK: spaces preferred around that '-' (ctx:VxV) #89: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:408: + if (!strncmp(&line[m], TRAMP, sizeof(TRAMP)-1)) { ^ WARNING: line length of 90 exceeds 80 columns #99: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:418: +static void check_attach(struct uprobe_optimized *skel, void (*trigger)(void), void *addr) CHECK: spaces preferred around that '*' (ctx:WxV) #105: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:424: + } __packed *call; ^ WARNING: line length of 96 exceeds 80 columns #113: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:432: + if (!ASSERT_OK(find_uprobes_trampoline(&tramp_start, &tramp_end), "uprobes_trampoline")) CHECK: No space is necessary after a cast #120: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:439: + call = (struct __arch_relative_insn *) addr; CHECK: No space is necessary after a cast #121: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:440: + delta = (unsigned long) tramp_start - ((unsigned long) addr + 5); WARNING: line length of 90 exceeds 80 columns #128: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:447: +static void check_detach(struct uprobe_optimized *skel, void (*trigger)(void), void *addr) WARNING: line length of 91 exceeds 80 columns #133: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:452: + ASSERT_OK(find_uprobes_trampoline(&tramp_start, &tramp_end), "uprobes_trampoline"); CHECK: Alignment should match open parenthesis #160: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:479: + link = bpf_program__attach_uprobe_opts(skel->progs.test_1, + 0, "/proc/self/exe", offset, NULL); CHECK: Alignment should match open parenthesis #180: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:499: + link = bpf_program__attach_uprobe_multi(skel->progs.test_2, + 0, "/proc/self/exe", "uprobe_test_nop5", NULL); CHECK: Alignment should match open parenthesis #206: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:525: + link = bpf_program__attach_usdt(skel->progs.test_3, + -1 /* all PIDs */, "/proc/self/exe", WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #253: new file mode 100644 total: 0 errors, 11 warnings, 7 checks, 254 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 3534494d15bb ("selftests/bpf: Add uprobe/usdt optimized 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, 11 warnings, 7 checks, 254 lines checked