WARNING: line length of 142 exceeds 80 columns #97: FILE: tools/testing/selftests/bpf/veristat.c:872: + if (5 == sscanf(cur, "processed %ld insns (limit %*d) max_states_per_insn %ld total_states %ld peak_states %ld mark_read %ld", WARNING: Comparisons should place the constant on the right side of the test #97: FILE: tools/testing/selftests/bpf/veristat.c:872: + if (5 == sscanf(cur, "processed %ld insns (limit %*d) max_states_per_insn %ld total_states %ld peak_states %ld mark_read %ld", WARNING: Comparisons should place the constant on the right side of the test #106: FILE: tools/testing/selftests/bpf/veristat.c:880: + if (1 == sscanf(cur, "stack depth %" STR(PATH_MAX) "s", stack)) WARNING: Prefer kstrto to single variable sscanf #111: FILE: tools/testing/selftests/bpf/veristat.c:885: + if (sscanf(token, "%d", &sub_stack) == 0) + break; WARNING: line length of 91 exceeds 80 columns #166: FILE: tools/testing/selftests/bpf/veristat.c:1571: + *str = libbpf_bpf_attach_type_str(s->stats[ATTACH_TYPE]) ? : "N/A"; WARNING: line length of 87 exceeds 80 columns #172: FILE: tools/testing/selftests/bpf/veristat.c:1577: + *str = libbpf_bpf_prog_type_str(s->stats[PROG_TYPE]) ? : "N/A"; total: 0 errors, 6 warnings, 0 checks, 153 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 c4972208b776 ("selftests/bpf: add more stats into 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, 6 warnings, 0 checks, 153 lines checked