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 #63: FILE: kernel/bpf/verifier.c:460: + if (verifier_bug_if(!func_proto, env, "btf_id %u not found", func->type)) WARNING: line length of 81 exceeds 80 columns #67: FILE: kernel/bpf/verifier.c:464: + if (verifier_bug_if(!type, env, "btf_id %u not found", func_proto->type)) WARNING: line length of 81 exceeds 80 columns #83: FILE: kernel/bpf/verifier.c:10866: + /* All non-void global functions return a 64-bit SCALAR_VALUE. */ CHECK: Blank lines aren't necessary after an open brace '{' #95: FILE: kernel/bpf/verifier.c:17840: if (!is_subprog || frame->in_exception_callback_fn) { + WARNING: line length of 104 exceeds 80 columns #102: FILE: kernel/bpf/verifier.c:17847: + if (env->prog->type == BPF_PROG_TYPE_EXT && subprog_returns_void(env, frame->subprogno)) WARNING: line length of 81 exceeds 80 columns #113: FILE: kernel/bpf/verifier.c:17880: + /* If this is a void global subprog, there is no return value. */ WARNING: line length of 108 exceeds 80 columns #114: FILE: kernel/bpf/verifier.c:17881: + if (subprog_is_global(env, frame->subprogno) && subprog_returns_void(env, frame->subprogno)) WARNING: line length of 82 exceeds 80 columns #132: FILE: kernel/bpf/verifier.c:24508: + verbose(env, "exception cb cannot return void\n"); WARNING: line length of 89 exceeds 80 columns #137: FILE: kernel/bpf/verifier.c:24513: + /* Also ensure the callback only has a single scalar argument. */ WARNING: line length of 95 exceeds 80 columns #150: 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, 12 warnings, 1 checks, 125 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 d0856657e737 ("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, 12 warnings, 1 checks, 125 lines checked