WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #92: new file mode 100644 CHECK: Logical continuations should be on the previous line #225: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:129: + if (!ASSERT_EQ(recvd, sizeof(snd), "recv_timeout(p)") + || !ASSERT_OK(memcmp(snd, rcv, sizeof(snd)), CHECK: Logical continuations should be on the previous line #237: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:141: + if (!ASSERT_OK(err, "ioctl(FIONREAD) error") + || ASSERT_EQ(avail, sizeof(snd), "ioctl(FIONREAD)")) CHECK: Alignment should match open parenthesis #241: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:145: + recvd = recv_timeout(p, rcv, sizeof(rcv), MSG_DONTWAIT, + IO_TIMEOUT_SEC); CHECK: Logical continuations should be on the previous line #243: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:147: + if (!ASSERT_EQ(recvd, sizeof(snd), "second recv_timeout(p)") + || ASSERT_OK(memcmp(snd, rcv, sizeof(snd)), CHECK: Logical continuations should be on the previous line #304: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:208: + if (!ASSERT_EQ(recvd, total_sent, "recv_timeout(p1)") + || !ASSERT_OK(memcmp(snd, rcv, total_sent), CHECK: spaces preferred around that '/' (ctx:VxV) #315: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:219: + off = total_sent/2; ^ CHECK: Logical continuations should be on the previous line #322: FILE: tools/testing/selftests/bpf/prog_tests/sockmap_strp.c:226: + if (!ASSERT_EQ(recvd, total_sent, "partial recv_timeout(p1)") + || !ASSERT_OK(memcmp(snd, rcv, total_sent), CHECK: Please don't use multiple blank lines #370: FILE: tools/testing/selftests/bpf/progs/test_sockmap_strp.c:13: + + CHECK: Please don't use multiple blank lines #377: FILE: tools/testing/selftests/bpf/progs/test_sockmap_strp.c:20: + + CHECK: Please use a blank line after function/struct/union/enum declarations #408: FILE: tools/testing/selftests/bpf/progs/test_sockmap_strp.c:51: +} +char _license[] SEC("license") = "GPL"; total: 0 errors, 1 warnings, 10 checks, 371 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 db9c7f0e1096 ("selftests/bpf: add strparser test for bpf") 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, 1 warnings, 10 checks, 371 lines checked