========== checkpatch - FAILED ERROR: do not initialise globals to 0 #29: FILE: tools/testing/selftests/bpf/test_progs.c:36: +int env_verbosity = 0; ERROR: do not initialise globals to 0 #73: FILE: tools/testing/selftests/bpf/trace_helpers.c:250: +int env_verbosity __weak = 0; WARNING: line length of 105 exceeds 80 columns #75: FILE: tools/testing/selftests/bpf/trace_helpers.c:252: +int procmap_query(int fd, const void *addr, __u32 query_flags, size_t *start, size_t *offset, int *flags) WARNING: line length of 120 exceeds 80 columns #101: FILE: tools/testing/selftests/bpf/trace_helpers.c:278: + printf("VMA FOUND (addr %08lx): %08lx-%08lx %c%c%c%c %08lx %02x:%02x %ld %s (build ID: %s, %d bytes)\n", WARNING: line length of 83 exceeds 80 columns #107: FILE: tools/testing/selftests/bpf/trace_helpers.c:284: + (long)q.vma_offset, q.dev_major, q.dev_minor, (long)q.inode, WARNING: line length of 86 exceeds 80 columns #119: FILE: tools/testing/selftests/bpf/trace_helpers.c:296: +int procmap_query(int fd, const void *addr, size_t *start, size_t *offset, int *flags) WARNING: line length of 98 exceeds 80 columns #144: FILE: tools/testing/selftests/bpf/trace_helpers.c:314: + err = procmap_query(fileno(f), addr, PROCMAP_QUERY_VMA_EXECUTABLE, &start, &base, &flags); WARNING: line length of 94 exceeds 80 columns #148: FILE: tools/testing/selftests/bpf/trace_helpers.c:318: + while (fscanf(f, "%zx-%zx %s %zx %*[^\n]\n", &start, &end, buf, &base) == 4) { WARNING: line length of 97 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/trace_helpers.c:319: + if (buf[2] == 'x' && (uintptr_t)addr >= start && (uintptr_t)addr < end) { WARNING: line length of 87 exceeds 80 columns #185: FILE: tools/testing/selftests/bpf/trace_helpers.c:380: + err = procmap_query(fileno(f), (const void *)addr, 0, &start, &offset, &flags); WARNING: line length of 96 exceeds 80 columns #193: FILE: tools/testing/selftests/bpf/trace_helpers.c:388: + while (fscanf(f, "%zx-%zx %s %zx %*[^\n]\n", &start, &end, buf, &offset) == 4) { total: 2 errors, 9 warnings, 0 checks, 162 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 f106b70e13ac ("selftests/bpf: make use of PROCMAP_QUERY ioctl if available") 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.