WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #66: FILE: tools/testing/selftests/net/tcp_ao/connect-deny.c:7: +static volatile int sk_pair; WARNING: line length of 81 exceeds 80 columns #110: FILE: tools/testing/selftests/net/tcp_ao/connect-deny.c:116: + "TCPAOKeyNotFound", TEST_CNT_NS_KEY_NOT_FOUND, FAULT_TIMEOUT); WARNING: line length of 87 exceeds 80 columns #140: FILE: tools/testing/selftests/net/tcp_ao/connect-deny.c:186: + ret = test_skpair_connect_poll(sk, this_ip_dest, port, cnt_expected, &sk_pair); CHECK: extern prototypes should be avoided in .h files #197: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:595: +extern int test_skpair_wait_poll(int sk, bool write, test_cnt cond, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #198: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:596: + volatile int *err); CHECK: extern prototypes should be avoided in .h files #199: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:597: +extern int _test_skpair_connect_poll(int sk, const char *device, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #201: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:599: + test_cnt cond, volatile int *err); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #204: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:602: + test_cnt cond, volatile int *err) WARNING: line length of 81 exceeds 80 columns #210: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:608: + (void *)&addr, sizeof(addr), cond, err); CHECK: extern prototypes should be avoided in .h files #213: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:611: +extern int test_skpair_client(int sk, const size_t msg_len, const size_t nr, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #214: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:612: + test_cnt cond, volatile int *err); CHECK: extern prototypes should be avoided in .h files #215: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:613: +extern int test_skpair_server(int sk, ssize_t quota, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #216: FILE: tools/testing/selftests/net/tcp_ao/lib/aolib.h:614: + test_cnt cond, volatile int *err); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #283: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:92: + volatile int *err) WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #312: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:158: + test_cnt cond, volatile int *err) WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #329: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:175: + test_cnt condition, volatile int *err) WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #357: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:597: + test_cnt cond, volatile int *err, WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #392: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:639: +int test_skpair_server(int sk, ssize_t quota, test_cnt cond, volatile int *err) WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #409: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:656: + volatile int *err, time_t timeout_sec) WARNING: line length of 83 exceeds 80 columns #438: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:689: + ret = __test_skpair_poll(sk, 0, timeout_sec, c, cond, err); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #458: FILE: tools/testing/selftests/net/tcp_ao/lib/sock.c:721: + test_cnt cond, volatile int *err) WARNING: line length of 86 exceeds 80 columns #531: FILE: tools/testing/selftests/net/tcp_ao/restore.c:174: + test_fail("%s: post-migrate connection is working", tst_name); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #547: FILE: tools/testing/selftests/net/tcp_ao/unsigned-md5.c:9: +static volatile int sk_pair; total: 0 errors, 19 warnings, 4 checks, 585 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 00a4548f8240 ("selftests/net: Add mixed select()+polling mode to TCP-AO 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, 19 warnings, 4 checks, 585 lines checked