WARNING: line length of 88 exceeds 80 columns #49: FILE: tools/testing/selftests/bpf/veristat.c:1424: + if (sscanf(name, "%[a-zA-Z0-9_][%[a-zA-Z0-9]] %n", var, idx, &n) == 2 && WARNING: line length of 95 exceeds 80 columns #76: FILE: tools/testing/selftests/bpf/veristat.c:1462: + if (sscanf(expr, "%[][a-zA-Z0-9_.] = %s %n", var, val, &n) != 2 || n != strlen(expr)) { WARNING: line length of 85 exceeds 80 columns #84: FILE: tools/testing/selftests/bpf/veristat.c:1555: +static int find_enum_value(const struct btf *btf, const char *name, long long *value) WARNING: line length of 85 exceeds 80 columns #120: FILE: tools/testing/selftests/bpf/veristat.c:1591: + if (!btf_is_int(type) && !btf_is_any_enum(type) && !btf_is_composite(type)) { WARNING: line length of 82 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/veristat.c:1603: + fprintf(stderr, "Can't resolve %s enum as an array index", WARNING: line length of 84 exceeds 80 columns #138: FILE: tools/testing/selftests/bpf/veristat.c:1609: + fprintf(stderr, "Array index is expected for %s\n", var_atom->name); WARNING: line length of 90 exceeds 80 columns #143: FILE: tools/testing/selftests/bpf/veristat.c:1614: + fprintf(stderr, "Preset index %lld is invalid or out of bounds [0, %u]\n", WARNING: line length of 82 exceeds 80 columns #182: FILE: tools/testing/selftests/bpf/veristat.c:1653: + fprintf(stderr, "Bitfield presets are not supported %s\n", WARNING: line length of 95 exceeds 80 columns #203: FILE: tools/testing/selftests/bpf/veristat.c:1661: + if (name[0] == '\0' && btf_is_composite(member_type)) { /* anon struct/union */ WARNING: line length of 87 exceeds 80 columns #214: FILE: tools/testing/selftests/bpf/veristat.c:1671: + err = adjust_array_secinfo(btf, member_type, var_atom, &sinfo); WARNING: line length of 94 exceeds 80 columns #223: FILE: tools/testing/selftests/bpf/veristat.c:1680: + fprintf(stderr, "Array index is not expected for %s\n", name); WARNING: line length of 85 exceeds 80 columns #243: FILE: tools/testing/selftests/bpf/veristat.c:1702: + err = adjust_array_secinfo(btf, base_type, &preset->atoms[0], sinfo); WARNING: line length of 95 exceeds 80 columns #248: FILE: tools/testing/selftests/bpf/veristat.c:1707: + fprintf(stderr, "Array index is not expected for %s\n", preset->atoms[0].name); total: 0 errors, 13 warnings, 0 checks, 241 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 06b86c542c06 ("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, 13 warnings, 0 checks, 241 lines checked