CHECK: No space is necessary after a cast #86: FILE: tools/testing/selftests/bpf/progs/fsession_test.c:106: + test6_exit_result = (const void *) addr == &bpf_fentry_test1; CHECK: No space is necessary after a cast #88: FILE: tools/testing/selftests/bpf/progs/fsession_test.c:108: + test6_entry_result = (const void *) addr == &bpf_fentry_test1; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #97: FILE: tools/testing/selftests/bpf/progs/fsession_test.c:117: + volatile __u64 *cookie = bpf_session_cookie(ctx); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #115: FILE: tools/testing/selftests/bpf/progs/fsession_test.c:135: + volatile __u64 *cookie = bpf_session_cookie(ctx); WARNING: From:/Signed-off-by: email address mismatch: 'From: Menglong Dong ' != 'Signed-off-by: Menglong Dong ' total: 0 errors, 3 warnings, 2 checks, 113 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 27a55bc8d852 ("selftests/bpf: add testcases for fsession cookie") 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, 3 warnings, 2 checks, 113 lines checked