Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests/bpf: Correct two typos

When wrapping code, use ';' better than using ',' which is more in line with
the coding habits of most engineers.

Signed-off-by: Lu Hongfei <luhongfei@vivo.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Hou Tao <houtao1@huawei.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20230707081253.34638-1-luhongfei@vivo.com

authored by

Lu Hongfei and committed by
Daniel Borkmann
856fe03d 56baeeba

+2 -2
+1 -1
tools/testing/selftests/bpf/benchs/bench_ringbufs.c
··· 399 399 ctx->skel = perfbuf_setup_skeleton(); 400 400 401 401 memset(&attr, 0, sizeof(attr)); 402 - attr.config = PERF_COUNT_SW_BPF_OUTPUT, 402 + attr.config = PERF_COUNT_SW_BPF_OUTPUT; 403 403 attr.type = PERF_TYPE_SOFTWARE; 404 404 attr.sample_type = PERF_SAMPLE_RAW; 405 405 /* notify only every Nth sample */
+1 -1
tools/testing/selftests/bpf/prog_tests/tcp_hdr_options.c
··· 347 347 exp_active_estab_in.max_delack_ms = 22; 348 348 349 349 exp_passive_hdr_stg.syncookie = true; 350 - exp_active_hdr_stg.resend_syn = true, 350 + exp_active_hdr_stg.resend_syn = true; 351 351 352 352 prepare_out(); 353 353