WARNING: line length of 84 exceeds 80 columns #38: FILE: tools/testing/selftests/net/tls.c:1685: +static void tls_recv_keyupdate(struct __test_metadata *_metadata, int fd, int flags) WARNING: line length of 99 exceeds 80 columns #42: FILE: tools/testing/selftests/net/tls.c:1689: + EXPECT_EQ(tls_recv_cmsg(_metadata, fd, TLS_RECORD_TYPE_HANDSHAKE, buf, sizeof(buf), flags), CHECK: Please don't use multiple blank lines #64: FILE: tools/testing/selftests/net/tls.c:1711: + + CHECK: Please don't use multiple blank lines #96: FILE: tools/testing/selftests/net/tls.c:1743: + + WARNING: line length of 84 exceeds 80 columns #130: FILE: tools/testing/selftests/net/tls.c:1777: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 92 exceeds 80 columns #178: FILE: tools/testing/selftests/net/tls.c:1825: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 88 exceeds 80 columns #179: FILE: tools/testing/selftests/net/tls.c:1826: + EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len), -1); WARNING: line length of 84 exceeds 80 columns #185: FILE: tools/testing/selftests/net/tls.c:1832: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 81 exceeds 80 columns #195: FILE: tools/testing/selftests/net/tls.c:1842: + EXPECT_EQ(setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), -1); WARNING: line length of 100 exceeds 80 columns #200: FILE: tools/testing/selftests/net/tls.c:1847: + tls_crypto_info_init(variant->tls_version, TLS_CIPHER_CHACHA20_POLY1305, &tls12, 1); WARNING: line length of 94 exceeds 80 columns #202: FILE: tools/testing/selftests/net/tls.c:1849: + tls_crypto_info_init(variant->tls_version, TLS_CIPHER_AES_GCM_256, &tls12, 1); WARNING: line length of 84 exceeds 80 columns #225: FILE: tools/testing/selftests/net/tls.c:1872: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 84 exceeds 80 columns #248: FILE: tools/testing/selftests/net/tls.c:1895: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 84 exceeds 80 columns #288: FILE: tools/testing/selftests/net/tls.c:1935: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 89 exceeds 80 columns #293: FILE: tools/testing/selftests/net/tls.c:1940: + EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, TLS_PAYLOAD_MAX_LEN, 0), send_len); WARNING: line length of 83 exceeds 80 columns #298: FILE: tools/testing/selftests/net/tls.c:1945: + EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, TLS_PAYLOAD_MAX_LEN, 0), -1); WARNING: line length of 83 exceeds 80 columns #308: FILE: tools/testing/selftests/net/tls.c:1955: + EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, TLS_PAYLOAD_MAX_LEN, 0), -1); WARNING: line length of 89 exceeds 80 columns #314: FILE: tools/testing/selftests/net/tls.c:1961: + EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, TLS_PAYLOAD_MAX_LEN, 0), send_len); WARNING: line length of 84 exceeds 80 columns #338: FILE: tools/testing/selftests/net/tls.c:1985: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 89 exceeds 80 columns #344: FILE: tools/testing/selftests/net/tls.c:1991: + EXPECT_EQ(splice(self->cfd, NULL, p[1], NULL, TLS_PAYLOAD_MAX_LEN, 0), send_len); WARNING: line length of 84 exceeds 80 columns #355: FILE: tools/testing/selftests/net/tls.c:2002: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 0); WARNING: line length of 84 exceeds 80 columns #371: FILE: tools/testing/selftests/net/tls.c:2018: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 84 exceeds 80 columns #401: FILE: tools/testing/selftests/net/tls.c:2048: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 88 exceeds 80 columns #426: FILE: tools/testing/selftests/net/tls.c:2073: + EXPECT_EQ(setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), 0); WARNING: line length of 84 exceeds 80 columns #453: FILE: tools/testing/selftests/net/tls.c:2100: + tls_crypto_info_init(variant->tls_version, variant->cipher_type, &tls12, 1); WARNING: line length of 88 exceeds 80 columns #469: FILE: tools/testing/selftests/net/tls.c:2116: + EXPECT_EQ(setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), 0); total: 0 errors, 24 warnings, 2 checks, 466 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 5e38d0d4d4ba ("selftests: tls: add rekey tests") 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, 24 warnings, 2 checks, 466 lines checked