WARNING: line length of 90 exceeds 80 columns #50: FILE: tools/bpf/resolve_btfids/main.c:206: +static struct btf_id *btf_id__add(struct rb_root *root, char *name, enum btf_id_kind kind) WARNING: else is not generally useful after a break or return #62: FILE: tools/bpf/resolve_btfids/main.c:223: + return id; + else { CHECK: Unbalanced braces around else statement #62: FILE: tools/bpf/resolve_btfids/main.c:223: + else { WARNING: line length of 94 exceeds 80 columns #63: FILE: tools/bpf/resolve_btfids/main.c:224: + pr_err("Unexpected duplicate symbol %s of kind %d\n", name, id->kind); WARNING: line length of 84 exceeds 80 columns #81: FILE: tools/bpf/resolve_btfids/main.c:273: +static struct btf_id *add_set(struct object *obj, char *name, enum btf_id_kind kind) WARNING: line length of 98 exceeds 80 columns #102: FILE: tools/bpf/resolve_btfids/main.c:292: + pr_err("Unexpected kind %d passed to %s() for symbol %s\n", kind, __func__, name); WARNING: line length of 85 exceeds 80 columns #164: FILE: tools/bpf/resolve_btfids/main.c:666: + if (!id->id && id->kind != BTF_ID_KIND_SET && id->kind != BTF_ID_KIND_SET8) { WARNING: line length of 95 exceeds 80 columns #200: FILE: tools/bpf/resolve_btfids/main.c:774: + pr_err("Unexpected btf_id_kind %d for set '%s'\n", id->kind, id->name); WARNING: line length of 83 exceeds 80 columns #206: FILE: tools/bpf/resolve_btfids/main.c:778: + pr_debug("sorting addr %5lu: cnt %6d [%s]\n", off, cnt, id->name); total: 0 errors, 8 warnings, 1 checks, 180 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 72bf3f34c995 ("resolve_btfids: Introduce enum btf_id_kind") 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, 1 checks, 180 lines checked