CHECK: Comparison to NULL could be written "strstr" #33: FILE: tools/testing/selftests/bpf/prog_tests/trace_printk.c:15: + if (strstr(str, SEARCHMSG_UTF8) != NULL) WARNING: line length of 84 exceeds 80 columns #52: FILE: tools/testing/selftests/bpf/prog_tests/trace_printk.c:52: + if (!ASSERT_GT(bss->trace_printk_utf8_ran, 0, "bss->trace_printk_utf8_ran")) WARNING: line length of 84 exceeds 80 columns #55: FILE: tools/testing/selftests/bpf/prog_tests/trace_printk.c:55: + if (!ASSERT_GT(bss->trace_printk_utf8_ret, 0, "bss->trace_printk_utf8_ret")) CHECK: Alignment should match open parenthesis #64: FILE: tools/testing/selftests/bpf/prog_tests/trace_printk.c:64: + ASSERT_OK(read_trace_pipe_iter(trace_pipe_cb, found, 1000), "read_trace_pipe_iter"); total: 0 errors, 2 warnings, 2 checks, 72 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 14506fd4edf2 ("selftests/bpf: cover UTF-8 trace_printk output") 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, 2 warnings, 2 checks, 72 lines checked