CHECK: Prefer using the BIT macro #24: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:7: +#define TEST_BPF_LOG_LEVEL_WARN (1U << 4) WARNING: line length of 88 exceeds 80 columns #30: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:13: +static int libbpf_print_cb(enum libbpf_print_level level, const char *fmt, va_list args) WARNING: line length of 86 exceeds 80 columns #38: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:21: + emitted_cnt = vsnprintf(libbpf_log_buf + libbpf_log_pos, left_cnt, fmt, args); WARNING: line length of 99 exceeds 80 columns #54: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:37: + prog == skel->progs.test_kfunc_implicit_arg_legacy_impl); WARNING: line length of 81 exceeds 80 columns #68: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:51: + bpf_program__set_log_buf(skel->progs.test_kfunc_implicit_arg_legacy_impl, WARNING: line length of 83 exceeds 80 columns #70: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:53: + bpf_program__set_log_level(skel->progs.test_kfunc_implicit_arg_legacy_impl, WARNING: line length of 100 exceeds 80 columns #75: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:58: + ASSERT_OK_PTR(strstr(log_buf, "uses deprecated kfunc bpf_kfunc_implicit_arg_legacy_impl()"), WARNING: line length of 95 exceeds 80 columns #101: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:84: + ASSERT_OK_PTR(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD WARNINGS --"), "warn_banner"); WARNING: line length of 91 exceeds 80 columns #103: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:86: + "uses deprecated kfunc bpf_kfunc_implicit_arg_legacy_impl()"), WARNING: line length of 91 exceeds 80 columns #105: FILE: tools/testing/selftests/bpf/prog_tests/kfunc_implicit_args.c:88: + ASSERT_NULL(strstr(libbpf_log_buf, "-- BEGIN PROG LOAD LOG --"), "no_verbose_log"); total: 0 errors, 9 warnings, 1 checks, 99 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 470045d89bcc ("selftests/bpf: Test verifier warning logging") 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, 9 warnings, 1 checks, 99 lines checked