WARNING: line length of 84 exceeds 80 columns #44: FILE: tools/testing/selftests/bpf/veristat.c:1639: +static int append_preset_atom(struct var_preset *preset, char *value, bool is_index) WARNING: line length of 88 exceeds 80 columns #102: FILE: tools/testing/selftests/bpf/veristat.c:1684: + if (sscanf(name + off, " [ %[a-zA-Z0-9_] ] %n", var, &n) != 1) { WARNING: line length of 89 exceeds 80 columns #103: FILE: tools/testing/selftests/bpf/veristat.c:1685: + fprintf(stderr, "Can't parse %s as index\n", name + off); WARNING: line length of 97 exceeds 80 columns #126: FILE: tools/testing/selftests/bpf/veristat.c:1710: + if (sscanf(expr, " %[][a-zA-Z0-9_. ] = %s %n", var, val, &n) != 2 || n != strlen(expr)) { WARNING: line length of 85 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/veristat.c:1809: +static int find_enum_value(const struct btf *btf, const char *name, long long *value) WARNING: line length of 90 exceeds 80 columns #170: FILE: tools/testing/selftests/bpf/veristat.c:1830: +static int resolve_rvalue(struct btf *btf, const struct rvalue *rvalue, long long *result) WARNING: line length of 89 exceeds 80 columns #181: FILE: tools/testing/selftests/bpf/veristat.c:1841: + fprintf(stderr, "Can't resolve enum value %s\n", rvalue->svalue); WARNING: line length of 88 exceeds 80 columns #192: FILE: tools/testing/selftests/bpf/veristat.c:1852: +static int adjust_var_secinfo_array(struct btf *btf, int tid, struct field_access *atom, WARNING: line length of 90 exceeds 80 columns #193: FILE: tools/testing/selftests/bpf/veristat.c:1853: + const char *array_name, struct btf_var_secinfo *sinfo) WARNING: line length of 82 exceeds 80 columns #212: FILE: tools/testing/selftests/bpf/veristat.c:1872: + fprintf(stderr, "Array index %lld is out of bounds [0, %u]: %s\n", WARNING: line length of 96 exceeds 80 columns #232: FILE: tools/testing/selftests/bpf/veristat.c:1891: + fprintf(stderr, "Can't resolve field %s for non-composite type\n", member_name); WARNING: line length of 89 exceeds 80 columns #304: FILE: tools/testing/selftests/bpf/veristat.c:1954: + err = adjust_var_secinfo_array(btf, tid, atom, prev_name, sinfo); WARNING: line length of 94 exceeds 80 columns #307: FILE: tools/testing/selftests/bpf/veristat.c:1957: + err = adjust_var_secinfo_member(btf, base_type, 0, atom->name, sinfo); WARNING: line length of 84 exceeds 80 columns #334: FILE: tools/testing/selftests/bpf/veristat.c:1988: + fprintf(stderr, "Can't set %s. Only ints and enums are supported\n", WARNING: line length of 85 exceeds 80 columns #359: FILE: tools/testing/selftests/bpf/veristat.c:3306: + if (env.presets[i].atoms[j].index.type == ENUMERATOR) WARNING: line length of 83 exceeds 80 columns #360: FILE: tools/testing/selftests/bpf/veristat.c:3307: + free(env.presets[i].atoms[j].index.svalue); total: 0 errors, 16 warnings, 0 checks, 335 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 3d8dea4d7159 ("selftests/bpf: support array presets in veristat") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE 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, 16 warnings, 0 checks, 335 lines checked