WARNING: line length of 87 exceeds 80 columns #39: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:119: +static void test_percpu_map_op_cpu_flag(struct bpf_map *map, void *keys, size_t key_sz, WARNING: Missing a blank line after declarations #47: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:127: + u32 count = max_entries; + LIBBPF_OPTS(bpf_map_batch_opts, batch_opts); WARNING: line length of 90 exceeds 80 columns #91: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:171: + err = bpf_map__update_elem(map, keys + i * key_sz, key_sz, values, WARNING: line length of 90 exceeds 80 columns #101: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:181: + err = bpf_map__update_elem(map, keys + i * key_sz, key_sz, values, WARNING: line length of 82 exceeds 80 columns #103: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:183: + if (!ASSERT_OK(err, "bpf_map__update_elem specified cpu")) WARNING: line length of 98 exceeds 80 columns #109: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:189: + err = bpf_map__lookup_elem(map, keys + i * key_sz, key_sz, values, WARNING: line length of 90 exceeds 80 columns #111: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:191: + if (!ASSERT_OK(err, "bpf_map__lookup_elem specified cpu")) WARNING: line length of 94 exceeds 80 columns #114: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:194: + "bpf_map__lookup_elem value on specified cpu")) WARNING: line length of 84 exceeds 80 columns #124: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:204: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #133: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:213: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #142: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:222: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 100 exceeds 80 columns #148: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:228: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 95 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:229: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch specified cpu")) WARNING: line length of 86 exceeds 80 columns #154: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:234: + "bpf_map_lookup_batch value on specified cpu")) WARNING: line length of 100 exceeds 80 columns #160: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:240: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 90 exceeds 80 columns #161: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:241: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch all_cpus")) WARNING: line length of 91 exceeds 80 columns #166: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:246: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, CHECK: spaces preferred around that '*' (ctx:VxV) #166: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:246: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, ^ WARNING: line length of 86 exceeds 80 columns #167: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:247: + "bpf_map_lookup_batch value all_cpus")) total: 0 errors, 18 warnings, 1 checks, 285 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 a7e454ea4b2a ("selftests/bpf: Add cases to test BPF_F_CPU and BPF_F_ALL_CPUS flags") 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, 285 lines checked