WARNING: line length of 89 exceeds 80 columns #27: FILE: kernel/bpf/btf.c:7839: + /* check that function is void or returns int, exception cb also requires this */ WARNING: line length of 81 exceeds 80 columns #32: FILE: kernel/bpf/btf.c:7843: + if (!btf_type_is_void(t) && !btf_type_is_int(t) && !btf_is_any_enum(t)) { WARNING: quoted string split across lines #38: FILE: kernel/bpf/btf.c:7848: + "Global function %s() return value not void or scalar. " + "Only those are supported.\n", WARNING: line length of 81 exceeds 80 columns #83: FILE: kernel/bpf/verifier.c:10874: + /* All non-void global functions return a 64-bit SCALAR_VALUE. */ WARNING: suspect code indent for conditional statements (8, 24) #133: FILE: kernel/bpf/verifier.c:18063: + if (subprog_is_global(env, cur_frame->subprogno) && [...] + return 0; WARNING: line length of 82 exceeds 80 columns #153: FILE: kernel/bpf/verifier.c:24572: + verbose(env, "exception cb cannot return void\n"); WARNING: line length of 89 exceeds 80 columns #158: FILE: kernel/bpf/verifier.c:24577: + /* Also ensure the callback only has a single scalar argument. */ WARNING: line length of 95 exceeds 80 columns #171: FILE: tools/testing/selftests/bpf/progs/exceptions_fail.c:54: +__failure __msg("Global function exception_cb_bad_ret_type() return value not void or scalar.") total: 0 errors, 8 warnings, 0 checks, 144 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 fa4d90db4dca ("bpf: Allow void global functions in the verifier") 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, 8 warnings, 0 checks, 144 lines checked