WARNING: line length of 94 exceeds 80 columns #56: FILE: tools/lib/bpf/features.c:520: + BTF_TYPE_ENC(1 /* "f" */, BTF_INFO_ENC(BTF_KIND_FUNC, 0, BTF_FUNC_GLOBAL), 1), CHECK: Alignment should match open parenthesis #59: FILE: tools/lib/bpf/features.c:523: + LIBBPF_OPTS(bpf_map_create_opts, map_opts, + .token_fd = token_fd, CHECK: Alignment should match open parenthesis #63: FILE: tools/lib/bpf/features.c:527: + LIBBPF_OPTS(bpf_prog_load_opts, prog_opts, + .token_fd = token_fd, WARNING: line length of 98 exceeds 80 columns #77: FILE: tools/lib/bpf/features.c:541: + btf_fd = libbpf__load_raw_btf((char *)types, sizeof(types), strs, sizeof(strs), token_fd); WARNING: line length of 86 exceeds 80 columns #81: FILE: tools/lib/bpf/features.c:545: + map = bpf_map_create(BPF_MAP_TYPE_ARRAY, "arr", sizeof(int), 1, 1, &map_opts); WARNING: line length of 107 exceeds 80 columns #96: FILE: tools/lib/bpf/features.c:560: + prog_fd = bpf_prog_load(BPF_PROG_TYPE_SYSCALL, "global_reloc", "GPL", insns, insn_cnt, &prog_opts); WARNING: line length of 88 exceeds 80 columns #109: FILE: tools/lib/bpf/features.c:573: + /* Be conservative and NULL terminate the buffer to ensure strstr terminates. */ WARNING: line length of 87 exceeds 80 columns #113: FILE: tools/lib/bpf/features.c:577: + * Feature is allowed if we're not failing with the error message "direct value WARNING: line length of 86 exceeds 80 columns #116: FILE: tools/lib/bpf/features.c:580: + * Instead, we should be failing with the message "invalid access to map value WARNING: line length of 85 exceeds 80 columns #117: FILE: tools/lib/bpf/features.c:581: + * pointer". Ensure we match with one of the two and we're not failing with a CHECK: Comparison to NULL could be written "!strstr" #123: FILE: tools/lib/bpf/features.c:587: + if (strstr(log_buf, "invalid access to map value pointer") == NULL) { total: 0 errors, 8 warnings, 3 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 ba0302b14092 ("libbpf: Add gating for arena globals relocation feature") 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, 3 checks, 125 lines checked