WARNING: please, no space before tabs #56: FILE: include/uapi/linux/bpf.h:5799: + * ^IDescription$ WARNING: please, no space before tabs #57: FILE: include/uapi/linux/bpf.h:5800: + * ^I^ICopy a NUL terminated string from an unsafe user address$ WARNING: please, no space before tabs #58: FILE: include/uapi/linux/bpf.h:5801: + * ^I^I*unsafe_ptr* to *dst*. The *size* should include the$ WARNING: please, no space before tabs #59: FILE: include/uapi/linux/bpf.h:5802: + * ^I^Iterminating NUL byte. In case the string length is smaller than$ WARNING: please, no space before tabs #60: FILE: include/uapi/linux/bpf.h:5803: + * ^I^I*size*, the target is not padded with further NUL bytes. If the$ WARNING: please, no space before tabs #61: FILE: include/uapi/linux/bpf.h:5804: + * ^I^Istring length is larger than *size*, just *size*-1 bytes are$ WARNING: please, no space before tabs #62: FILE: include/uapi/linux/bpf.h:5805: + * ^I^Icopied and the last byte is set to NUL.$ WARNING: please, no space before tabs #64: FILE: include/uapi/linux/bpf.h:5807: + * ^I^IOn success, returns the number of bytes that were written,$ WARNING: line length of 83 exceeds 80 columns #65: FILE: include/uapi/linux/bpf.h:5808: + * including the terminal NUL. See **bpf_probe_read_user_str**\ () for WARNING: please, no space before tabs #65: FILE: include/uapi/linux/bpf.h:5808: + * ^I^Iincluding the terminal NUL. See **bpf_probe_read_user_str**\ () for$ WARNING: please, no space before tabs #66: FILE: include/uapi/linux/bpf.h:5809: + * ^I^Iexamples of why this is better than **bpf_copy_from_user**\ ().$ WARNING: please, no space before tabs #69: FILE: include/uapi/linux/bpf.h:5812: + * ^IReturn$ WARNING: please, no space before tabs #70: FILE: include/uapi/linux/bpf.h:5813: + * ^I^IOn success, the strictly positive length of the output string,$ WARNING: please, no space before tabs #71: FILE: include/uapi/linux/bpf.h:5814: + * ^I^Iincluding the trailing NUL character. On error, a negative$ WARNING: please, no space before tabs #72: FILE: include/uapi/linux/bpf.h:5815: + * ^I^Ivalue.$ WARNING: line length of 83 exceeds 80 columns #157: FILE: tools/include/uapi/linux/bpf.h:5808: + * including the terminal NUL. See **bpf_probe_read_user_str**\ () for WARNING: line length of 109 exceeds 80 columns #184: FILE: tools/testing/selftests/bpf/prog_tests/attach_probe.c:289: + ASSERT_EQ(skel->bss->uprobe_byname3_sleepable_res_str, 13, "check_uprobe_byname3_sleepable_res_str"); WARNING: line length of 115 exceeds 80 columns #185: FILE: tools/testing/selftests/bpf/prog_tests/attach_probe.c:290: + ASSERT_EQ(skel->bss->uretprobe_byname3_sleepable_res_str, 14, "check_uretprobe_byname3_sleepable_res_str"); CHECK: Please don't use multiple blank lines #251: FILE: tools/testing/selftests/bpf/progs/test_attach_probe.c:102: + + total: 0 errors, 18 warnings, 1 checks, 194 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 dc9e8713123f ("bpf: Add bpf_copy_from_user_str() helper") 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, 18 warnings, 1 checks, 194 lines checked