WARNING: line length of 136 exceeds 80 columns #76: FILE: tools/testing/selftests/bpf/veristat.c:256: + { "set-global-vars", 'g', "GLOBALS", 0, "Set global variables provided in the expression, for example \"var1 = 1; var2 = 2\"" }, WARNING: line length of 94 exceeds 80 columns #83: FILE: tools/testing/selftests/bpf/veristat.c:263: +static int parse_var_presets(char *expr, struct var_preset *presets, int capacity, int *size); WARNING: line length of 94 exceeds 80 columns #96: FILE: tools/testing/selftests/bpf/veristat.c:380: + fprintf(stderr, "Could not parse global variables preset: %s\n", arg); WARNING: line length of 93 exceeds 80 columns #109: FILE: tools/testing/selftests/bpf/veristat.c:1315: +static int parse_var_presets(char *expr, struct var_preset *presets, int capacity, int *size) WARNING: line length of 87 exceeds 80 columns #142: FILE: tools/testing/selftests/bpf/veristat.c:1348: + fprintf(stderr, "Could not parse integer value %s\n", val_ptr); WARNING: line length of 95 exceeds 80 columns #158: FILE: tools/testing/selftests/bpf/veristat.c:1364: +static const struct btf_type *var_base_type(const struct btf *btf, const struct btf_type *type) WARNING: line length of 92 exceeds 80 columns #178: FILE: tools/testing/selftests/bpf/veristat.c:1384: +static int set_global_var(struct bpf_object *obj, struct btf *btf, const struct btf_type *t, WARNING: line length of 96 exceeds 80 columns #179: FILE: tools/testing/selftests/bpf/veristat.c:1385: + struct bpf_map *map, struct btf_var_secinfo *sinfo, long long new_val) WARNING: line length of 93 exceeds 80 columns #187: FILE: tools/testing/selftests/bpf/veristat.c:1393: + fprintf(stderr, "Setting global variable for btf kind %d is not supported\n", WARNING: line length of 92 exceeds 80 columns #215: FILE: tools/testing/selftests/bpf/veristat.c:1421: +static int set_global_vars(struct bpf_object *obj, struct var_preset *presets, int npresets) WARNING: line length of 92 exceeds 80 columns #246: FILE: tools/testing/selftests/bpf/veristat.c:1452: + const struct btf_type *var_type = btf__type_by_id(btf, sinfo->type); WARNING: line length of 92 exceeds 80 columns #247: FILE: tools/testing/selftests/bpf/veristat.c:1453: + const char *var_name = btf__name_by_offset(btf, var_type->name_off); WARNING: line length of 84 exceeds 80 columns #256: FILE: tools/testing/selftests/bpf/veristat.c:1462: + err = set_global_var(obj, btf, var_type, map, sinfo, WARNING: line length of 88 exceeds 80 columns #267: FILE: tools/testing/selftests/bpf/veristat.c:1473: + fprintf(stderr, "Some global variable presets have not been applied\n"); total: 0 errors, 14 warnings, 0 checks, 231 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 c3a60c1bc512 ("selftests/bpf: implement setting global variables 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, 14 warnings, 0 checks, 231 lines checked