CHECK: No space is necessary after a cast #58: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:359: + regs->r11 = (u64) -1; WARNING: line length of 85 exceeds 80 columns #141: FILE: tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.c:442: + return sysfs_create_bin_file(kernel_kobj, &bin_attr_bpf_testmod_uprobe_file); CHECK: No space is necessary after a cast #210: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:169: + return ret != n ? (int) ret : 0; CHECK: No space is necessary after a cast #216: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:175: + unsigned long *pb = (unsigned long *) &before; CHECK: No space is necessary after a cast #217: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:176: + unsigned long *pa = (unsigned long *) &after; CHECK: spaces preferred around that '/' (ctx:VxV) #218: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:177: + unsigned long cnt = sizeof(before)/sizeof(*pb); ^ CHECK: No space is necessary after a cast #244: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:203: + ASSERT_EQ(pa[i], (__u64) -1, "r11"); WARNING: line length of 90 exceeds 80 columns #247: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:206: + if (!ASSERT_EQ(pa[i], pb[i], "register before-after value check")) WARNING: line length of 87 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c:207: + fprintf(stdout, "failed register offset %u\n", offset); total: 0 errors, 3 warnings, 6 checks, 229 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 fa98f45c61c5 ("selftests/bpf: Add uretprobe syscall test for regs changes") 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, 3 warnings, 6 checks, 229 lines checked