WARNING: line length of 82 exceeds 80 columns
#96: FILE: tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c:70:
+	if (CHECK(getsockopt(fd, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len) < 0,

WARNING: line length of 86 exceeds 80 columns
#327: FILE: tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c:323:
+		nread = read(iter_fd, outputs, onebyone ? sizeof(*outputs) : to_read);

WARNING: line length of 86 exceeds 80 columns
#355: FILE: tools/testing/selftests/bpf/prog_tests/sock_iter_batch.c:344:
+		nread = read(iter_fd, outputs, onebyone ? sizeof(*outputs) : to_read);

WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst
#407: FILE: tools/testing/selftests/bpf/progs/sock_iter_batch.c:25:
+volatile const unsigned int sf;

total: 0 errors, 4 warnings, 0 checks, 423 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 edf801fc567e ("selftests/bpf: Add tests for socket skips and repeats") 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, 4 warnings, 0 checks, 423 lines checked