]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/bpf: Convert comma to semicolon
authorChen Ni <nichen@iscas.ac.cn>
Mon, 10 Mar 2025 03:20:45 +0000 (11:20 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Mar 2025 18:48:58 +0000 (11:48 -0700)
commita03d375330de32d859e827b3aad1e57908976708
treea52bd8da2f9cb47242f20d5b517dac6c9a7f70b1
parentcaa4237a790a986d668a83a48f0de7ab0069f9d8
selftests/bpf: Convert comma to semicolon

Replace comma between expressions with semicolons.

Using a ',' in place of a ';' can have unintended side effects.
Although that is not the case here, it is seems best to use ';'
unless ',' is intended.

Found by inspection.
No functional change intended.
Compile tested only.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Anton Protopopov <aspsk@isovalent.com>
Link: https://lore.kernel.org/bpf/20250310032045.651068-1-nichen@iscas.ac.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/fd_array.c