WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #66: new file mode 100644 WARNING: line length of 83 exceeds 80 columns #113: FILE: tools/testing/vsock/virtio_vsock_test.c:43: +static void test_stream_deferred_credit_update_client(const struct test_opts *opts) CHECK: Alignment should match open parenthesis #160: FILE: tools/testing/vsock/virtio_vsock_test.c:90: + if (setsockopt(fd, SOL_SOCKET, SO_RCVBUFFORCE, &rcv_buf, + sizeof(rcv_buf))) { WARNING: line length of 84 exceeds 80 columns #175: FILE: tools/testing/vsock/virtio_vsock_test.c:105: + if (bind(fd, (struct sockaddr *)&addr_ll, sizeof(struct sockaddr_ll)) < 0) { CHECK: Please don't use multiple blank lines #183: FILE: tools/testing/vsock/virtio_vsock_test.c:113: + + CHECK: Alignment should match open parenthesis #207: FILE: tools/testing/vsock/virtio_vsock_test.c:137: + fprintf(stderr, "Unexpected op: %hhu, but %hhu expected\n", + hdr->op, expected_op); WARNING: line length of 83 exceeds 80 columns #212: FILE: tools/testing/vsock/virtio_vsock_test.c:142: +static void test_stream_deferred_credit_update_server(const struct test_opts *opts) WARNING: line length of 82 exceeds 80 columns #251: FILE: tools/testing/vsock/virtio_vsock_test.c:181: + fprintf(stderr, "unexpected 'recv()' return: %zi\n", ret); WARNING: line length of 202 exceeds 80 columns #348: FILE: tools/testing/vsock/virtio_vsock_test.c:278: + fprintf(stderr, "Usage: virtio_vsock_test [--help] [--control-host=] --control-port= --mode=client|server --peer-cid= [--peer-port=] [--list] [--interface=]\n" CHECK: braces {} should be used on all arms of this statement #402: FILE: tools/testing/vsock/virtio_vsock_test.c:332: + if (strcmp(optarg, "client") == 0) [...] + else if (strcmp(optarg, "server") == 0) [...] + else { [...] CHECK: Unbalanced braces around else statement #406: FILE: tools/testing/vsock/virtio_vsock_test.c:336: + else { WARNING: line length of 93 exceeds 80 columns #407: FILE: tools/testing/vsock/virtio_vsock_test.c:337: + fprintf(stderr, "--mode must be \"client\" or \"server\"\n"); total: 0 errors, 7 warnings, 5 checks, 381 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 9c1d3bdf812a ("vsock/test: add test for deferred credit update") 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, 7 warnings, 5 checks, 381 lines checked