========== checkpatch - FAILED WARNING: line length of 82 exceeds 80 columns #32: FILE: tools/lib/bpf/bpf.c:1404: + const size_t attr_sz = offsetofend(union bpf_attr, prog_assoc_struct_ops); ERROR: space prohibited before that ':' (ctx:WxV) #58: FILE: tools/lib/bpf/bpf.h:739: + size_t :0; ^ CHECK: Please use a blank line after function/struct/union/enum declarations #60: FILE: tools/lib/bpf/bpf.h:741: +}; +#define bpf_prog_assoc_struct_ops_opts__last_field flags WARNING: line length of 86 exceeds 80 columns #74: FILE: tools/lib/bpf/bpf.h:755: + struct bpf_prog_assoc_struct_ops_opts *opts); WARNING: line length of 87 exceeds 80 columns #100: FILE: tools/lib/bpf/libbpf.c:13907: + pr_warn("prog '%s': can't associate struct_ops program\n", prog->name); WARNING: line length of 103 exceeds 80 columns #105: FILE: tools/lib/bpf/libbpf.c:13912: + pr_warn("map '%s': can't associate BPF map without FD (was it created?)\n", map->name); WARNING: line length of 85 exceeds 80 columns #110: FILE: tools/lib/bpf/libbpf.c:13917: + pr_warn("map '%s': can't associate non-struct_ops map\n", map->name); total: 1 errors, 5 warnings, 1 checks, 113 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 e426d04dacaf ("libbpf: Add support for associating BPF program with struct_ops") 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.