]> git.hungrycats.org Git - linux/commit
selftests/bpf: fix some typos in selftests
authorLin Yikai <yikai.lin@vivo.com>
Thu, 5 Sep 2024 11:03:05 +0000 (19:03 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 5 Sep 2024 20:07:47 +0000 (13:07 -0700)
commit5db0ba6766f8a6606e655ddad745c87bc01349c7
tree8f91566784e8cdc7567285d77f5e4f56561d1239
parent552895afadb39f82ac44b62651b3c6261b6f96cc
selftests/bpf: fix some typos in selftests

Hi, fix some spelling errors in selftest, the details are as follows:

-in the codes:
test_bpf_sk_stoarge_map_iter_fd(void)
->test_bpf_sk_storage_map_iter_fd(void)
load BTF from btf_data.o->load BTF from btf_data.bpf.o

-in the code comments:
preample->preamble
multi-contollers->multi-controllers
errono->errno
unsighed/unsinged->unsigned
egree->egress
shoud->should
regsiter->register
assummed->assumed
conditiona->conditional
rougly->roughly
timetamp->timestamp
ingores->ignores
null-termainted->null-terminated
slepable->sleepable
implemenation->implementation
veriables->variables
timetamps->timestamps
substitue a costant->substitute a constant
secton->section
unreferened->unreferenced
verifer->verifier
libppf->libbpf
...

Signed-off-by: Lin Yikai <yikai.lin@vivo.com>
Link: https://lore.kernel.org/r/20240905110354.3274546-1-yikai.lin@vivo.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
25 files changed:
tools/testing/selftests/bpf/benchs/bench_trigger.c
tools/testing/selftests/bpf/cgroup_helpers.c
tools/testing/selftests/bpf/map_tests/htab_map_batch_ops.c
tools/testing/selftests/bpf/map_tests/lpm_trie_map_batch_ops.c
tools/testing/selftests/bpf/prog_tests/bpf_iter.c
tools/testing/selftests/bpf/prog_tests/btf.c
tools/testing/selftests/bpf/prog_tests/cg_storage_multi.c
tools/testing/selftests/bpf/prog_tests/log_buf.c
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
tools/testing/selftests/bpf/prog_tests/resolve_btfids.c
tools/testing/selftests/bpf/prog_tests/tc_redirect.c
tools/testing/selftests/bpf/prog_tests/test_bprm_opts.c
tools/testing/selftests/bpf/prog_tests/test_strncmp.c
tools/testing/selftests/bpf/prog_tests/token.c
tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c
tools/testing/selftests/bpf/prog_tests/user_ringbuf.c
tools/testing/selftests/bpf/progs/bpf_cubic.c
tools/testing/selftests/bpf/progs/strobemeta.h
tools/testing/selftests/bpf/progs/test_cls_redirect_dynptr.c
tools/testing/selftests/bpf/progs/test_core_read_macros.c
tools/testing/selftests/bpf/progs/test_global_func15.c
tools/testing/selftests/bpf/progs/test_global_map_resize.c
tools/testing/selftests/bpf/test_maps.c
tools/testing/selftests/bpf/test_progs.c
tools/testing/selftests/bpf/verifier/map_kptr.c