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_lookup_elem_opts, lookup_opts, WARNING: line length of 84 exceeds 80 columns #93: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:166: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #103: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:176: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 92 exceeds 80 columns #112: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:185: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 100 exceeds 80 columns #120: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:193: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 93 exceeds 80 columns #121: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:194: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch current cpu")) WARNING: line length of 81 exceeds 80 columns #125: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:198: + if (!ASSERT_EQ(values[i], value, "value on current cpu")) WARNING: line length of 100 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:205: + err = bpf_map_lookup_batch(map_fd, NULL, &batch, keys, values, &count, &batch_opts); WARNING: line length of 90 exceeds 80 columns #133: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:206: + if (!ASSERT_TRUE(!err || err == -ENOENT, "bpf_map_lookup_batch all cpus")) WARNING: line length of 91 exceeds 80 columns #138: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:211: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, CHECK: spaces preferred around that '*' (ctx:VxV) #138: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:211: + if (!ASSERT_EQ(values[i*nr_cpus + j], j != cpu ? 0 : value, ^ WARNING: line length of 84 exceeds 80 columns #169: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:242: + err = bpf_map_update_batch(map_fd, keys, values, &max_entries, &batch_opts); WARNING: line length of 85 exceeds 80 columns #181: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:254: + if (!ASSERT_OK(err, "bpf_map__update_elem_opts current cpu")) WARNING: line length of 93 exceeds 80 columns #191: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:264: + if (!ASSERT_OK(err, "bpf_map__lookup_elem_opts current cpu")) WARNING: line length of 97 exceeds 80 columns #194: FILE: tools/testing/selftests/bpf/prog_tests/percpu_alloc.c:267: + "bpf_map__lookup_elem_opts value on current cpu")) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #226: new file mode 100644 total: 0 errors, 15 warnings, 1 checks, 212 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 0f7b33870ab4 ("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, 15 warnings, 1 checks, 212 lines checked