WARNING: else is not generally useful after a break or return #354: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:299: + return -1; + } else { WARNING: line length of 94 exceeds 80 columns #503: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:448: + /* Rekey at intervals: send KeyUpdate, update TX, recv KeyUpdate, update RX */ WARNING: line length of 82 exceeds 80 columns #515: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:460: + ret = do_tls_rekey(csk, TLS_TX, current_gen, cipher_type); WARNING: line length of 82 exceeds 80 columns #527: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:472: + ret = do_tls_rekey(csk, TLS_RX, current_gen, cipher_type); WARNING: line length of 82 exceeds 80 columns #637: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:582: + ret = do_tls_rekey(csk, TLS_RX, current_gen, cipher_type); WARNING: line length of 82 exceeds 80 columns #648: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:593: + ret = do_tls_rekey(csk, TLS_TX, current_gen, cipher_type); WARNING: line length of 87 exceeds 80 columns #755: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:700: + printf("ERROR: Invalid port '%s'. Must be 1..65535.\n", WARNING: line length of 90 exceeds 80 columns #763: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:708: + printf("ERROR: Invalid buffer size '%s'. Must be >= 1.\n", WARNING: line length of 90 exceeds 80 columns #771: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:716: + printf("ERROR: Invalid random size '%s'. Must be >= 1.\n", WARNING: line length of 91 exceeds 80 columns #787: FILE: tools/testing/selftests/drivers/net/hw/tls_hw_offload.c:732: + printf("ERROR: Invalid rekey count '%s'. Must be 1..%d.\n", total: 0 errors, 10 warnings, 0 checks, 956 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 38e91a242b18 ("selftests: net: add TLS hardware offload test") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 10 warnings, 0 checks, 956 lines checked