WARNING: line length of 120 exceeds 80 columns #37: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:36: +SEC("syscall") __retval(USER_PTR_ERR)int test_strncasecmp_null1(void *ctx) { return bpf_strncasecmp(NULL, "HELLO", 5); } WARNING: line length of 122 exceeds 80 columns #38: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:37: +SEC("syscall") __retval(USER_PTR_ERR)int test_strncasecmp_null2(void *ctx) { return bpf_strncasecmp("HELLO", NULL, 5); } WARNING: line length of 129 exceeds 80 columns #46: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:62: +SEC("syscall") __retval(USER_PTR_ERR) int test_strncasecmp_user_ptr1(void *ctx) { return bpf_strncasecmp(user_ptr, "HELLO", 5); } WARNING: line length of 130 exceeds 80 columns #47: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:63: +SEC("syscall") __retval(USER_PTR_ERR) int test_strncasecmp_user_ptr2(void *ctx) { return bpf_strncasecmp("HELLO", user_ptr, 5); } WARNING: line length of 133 exceeds 80 columns #55: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:90: +SEC("syscall") __retval(-EFAULT) int test_strncasecmp_pagefault1(void *ctx) { return bpf_strncasecmp(invalid_kern_ptr, "HELLO", 5); } WARNING: line length of 138 exceeds 80 columns #56: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure1.c:91: +SEC("syscall") __retval(-EFAULT) int test_strncasecmp_pagefault2(void *ctx) { return bpf_strncasecmp("HELLO", invalid_kern_ptr, 5); } WARNING: line length of 121 exceeds 80 columns #68: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_failure2.c:11: +SEC("syscall") int test_strncasecmp_too_long(void *ctx) { return bpf_strncasecmp(long_str, long_str, sizeof(long_str)); } WARNING: line length of 97 exceeds 80 columns #80: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:20: +__test(0) int test_strncasecmp_eq1(void *ctx) { return bpf_strncasecmp(str, "hello world", 11); } WARNING: line length of 97 exceeds 80 columns #81: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:21: +__test(0) int test_strncasecmp_eq2(void *ctx) { return bpf_strncasecmp(str, "HELLO WORLD", 11); } WARNING: line length of 97 exceeds 80 columns #82: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:22: +__test(0) int test_strncasecmp_eq3(void *ctx) { return bpf_strncasecmp(str, "HELLO world", 11); } WARNING: line length of 90 exceeds 80 columns #83: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:23: +__test(0) int test_strncasecmp_eq4(void *ctx) { return bpf_strncasecmp(str, "hello", 5); } WARNING: line length of 98 exceeds 80 columns #84: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:24: +__test(0) int test_strncasecmp_eq6(void *ctx) { return bpf_strncasecmp(str, "hello world!", 11); } WARNING: line length of 93 exceeds 80 columns #85: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:25: +__test(-1) int test_strncasecmp_neq1(void *ctx) { return bpf_strncasecmp(str, "hello!", 6); } WARNING: line length of 89 exceeds 80 columns #86: FILE: tools/testing/selftests/bpf/progs/string_kfuncs_success.c:26: +__test(1) int test_strncasecmp_neq2(void *ctx) { return bpf_strncasecmp(str, "abc", 3); } total: 0 errors, 14 warnings, 0 checks, 51 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 1daf74c2b1fd ("selftests/bpf: Test kfunc bpf_strncasecmp") 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, 14 warnings, 0 checks, 51 lines checked