WARNING: Missing a blank line after declarations #55: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:128: + struct bpf_map *map; + LIBBPF_OPTS(bpf_map_batch_opts, batch_opts); WARNING: line length of 84 exceeds 80 columns #82: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:155: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #91: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:164: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #100: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:173: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 100 exceeds 80 columns #106: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:179: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 95 exceeds 80 columns #107: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:180: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch specified cpu")) WARNING: line length of 83 exceeds 80 columns #111: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:184: + if (!ASSERT_EQ(values[i], value, "value on specified cpu")) WARNING: line length of 100 exceeds 80 columns #117: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:190: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 90 exceeds 80 columns #118: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:191: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch all cpus")) WARNING: line length of 91 exceeds 80 columns #123: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:196: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, CHECK: spaces preferred around that '*' (ctx:VxV) #123: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:196: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, ^ WARNING: line length of 84 exceeds 80 columns #150: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:223: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 99 exceeds 80 columns #159: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:232: + err = bpf_map__update_elem(map, keys + i, key_sz, values, value_sz, flags); WARNING: line length of 82 exceeds 80 columns #160: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:233: + if (!ASSERT_OK(err, "bpf_map__update_elem specified cpu")) WARNING: line length of 99 exceeds 80 columns #166: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:239: + err = bpf_map__lookup_elem(map, keys + i, key_sz, values, value_sz, WARNING: line length of 90 exceeds 80 columns #168: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:241: + if (!ASSERT_OK(err, "bpf_map__lookup_elem specified cpu")) WARNING: line length of 94 exceeds 80 columns #171: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:244: + "bpf_map__lookup_elem value on specified cpu")) WARNING: line length of 87 exceeds 80 columns #179: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:252: + err = bpf_map__update_elem(map, keys, key_sz, values, value_sz, flags); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #203: new file mode 100644 total: 0 errors, 18 warnings, 1 checks, 189 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 5a6eee57f359 ("selftests/bpf: Add case to test BPF_F_CPU") 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, 18 warnings, 1 checks, 189 lines checked