CHECK: extern prototypes should be avoided in .h files #35: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:51: +extern int bpf_dynptr_copy(struct bpf_dynptr *dst, __u32 dst_off, WARNING: line length of 92 exceeds 80 columns #36: FILE: tools/testing/selftests/bpf/bpf_kfuncs.h:52: + struct bpf_dynptr *src, __u32 src_off, __u32 size) __ksym __weak; WARNING: line length of 85 exceeds 80 columns #164: FILE: tools/testing/selftests/bpf/progs/dynptr_success.c:635: + err = err ?: bpf_dynptr_copy(&ptr_xdp, 2, &ptr_xdp, len, len * (chunks - 1)); WARNING: line length of 82 exceeds 80 columns #168: FILE: tools/testing/selftests/bpf/progs/dynptr_success.c:639: + err = err ?: bpf_dynptr_read(&buf, len, &ptr_xdp, 2 + i * len, 0); WARNING: line length of 100 exceeds 80 columns #172: FILE: tools/testing/selftests/bpf/progs/dynptr_success.c:643: + err = err ?: (bpf_dynptr_copy(&ptr_xdp, 2000, &ptr_xdp, 0, len * chunks) == -E2BIG ? 0 : 1); total: 0 errors, 4 warnings, 1 checks, 137 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 480256a4ceb4 ("selftests/bpf: add tests for bpf_dynptr_copy") 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, 1 checks, 137 lines checked