WARNING: line length of 142 exceeds 80 columns #87: FILE: tools/testing/selftests/bpf/veristat.c:869: + 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 #87: FILE: tools/testing/selftests/bpf/veristat.c:869: + 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 #96: FILE: tools/testing/selftests/bpf/veristat.c:877: + if (1 == sscanf(cur, "stack depth %511s", stack)) WARNING: Prefer kstrto to single variable sscanf #100: FILE: tools/testing/selftests/bpf/veristat.c:881: + if (sscanf(token, "%d", &sub_stack) == 0) + break; WARNING: line length of 90 exceeds 80 columns #155: FILE: tools/testing/selftests/bpf/veristat.c:1567: + *str = libbpf_bpf_attach_type_str(s->stats[ATTACH_TYPE]) ?: "N/A"; WARNING: line length of 86 exceeds 80 columns #161: FILE: tools/testing/selftests/bpf/veristat.c:1573: + *str = libbpf_bpf_prog_type_str(s->stats[PROG_TYPE]) ?: "N/A"; total: 0 errors, 6 warnings, 0 checks, 143 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 d778abd4ae7b ("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, 143 lines checked