WARNING: line length of 81 exceeds 80 columns #124: FILE: tools/lib/bpf/btf.c:642: + err = btf_validate_str(btf, l->name_off, "loc name", id); WARNING: line length of 93 exceeds 80 columns #271: FILE: tools/lib/bpf/btf.c:3187: +int btf__add_locsec_loc(struct btf *btf, const char *name, __u32 func_proto, __u32 loc_proto, WARNING: line length of 85 exceeds 80 columns #327: FILE: tools/lib/bpf/btf.c:4001: + /* VAR DATASEC and LOCSEC are never deduped and are self-canonical */ CHECK: Comparison to NULL could be written "!dist->pipe.dst->base_btf" #484: FILE: tools/lib/bpf/btf.c:5910: + bool adding_to_base = dist->pipe.dst->base_btf == NULL; WARNING: line length of 90 exceeds 80 columns #511: FILE: tools/lib/bpf/btf.h:250: +LIBBPF_API int btf__add_loc_param(struct btf *btf, __s32 size, bool is_value, __u64 value, WARNING: line length of 87 exceeds 80 columns #520: FILE: tools/lib/bpf/btf.h:259: +LIBBPF_API int btf__add_locsec_loc(struct btf *btf, const char *name, __u32 func_proto, WARNING: line length of 81 exceeds 80 columns #545: FILE: tools/lib/bpf/btf.h:390: + __s32 offset; /* offset from register-stored address */ total: 0 errors, 6 warnings, 1 checks, 659 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 defcc78ac8d0 ("libbpf: Add support for BTF kinds LOC_PARAM, LOC_PROTO and LOCSEC") 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, 6 warnings, 1 checks, 659 lines checked