Commit 6ffa72ac authored by Chen Ni's avatar Chen Ni Committed by Jakub Kicinski

selftests: net: 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: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240904014441.1065753-1-nichen@iscas.ac.cnSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1083d733
...@@ -165,9 +165,9 @@ static void sock_fanout_set_ebpf(int fd) ...@@ -165,9 +165,9 @@ static void sock_fanout_set_ebpf(int fd)
attr.insns = (unsigned long) prog; attr.insns = (unsigned long) prog;
attr.insn_cnt = ARRAY_SIZE(prog); attr.insn_cnt = ARRAY_SIZE(prog);
attr.license = (unsigned long) "GPL"; attr.license = (unsigned long) "GPL";
attr.log_buf = (unsigned long) log_buf, attr.log_buf = (unsigned long) log_buf;
attr.log_size = sizeof(log_buf), attr.log_size = sizeof(log_buf);
attr.log_level = 1, attr.log_level = 1;
pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr)); pfd = syscall(__NR_bpf, BPF_PROG_LOAD, &attr, sizeof(attr));
if (pfd < 0) { if (pfd < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment