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

Configure Feed

Select the types of activity you want to include in your feed.

selftests/bpf: Use semicolon instead of comma in test_verifier.c

Just silence the following checkpatch warning:

WARNING: Possible comma where semicolon could be used

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1675319486-27744-3-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>

authored by

Tiezhu Yang and committed by
Alexei Starovoitov
15080908 e2bd9742

+2 -2
+2 -2
tools/testing/selftests/bpf/test_verifier.c
··· 209 209 insn[i++] = BPF_MOV64_IMM(BPF_REG_2, 1); 210 210 insn[i++] = BPF_MOV64_IMM(BPF_REG_3, 2); 211 211 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, 212 - BPF_FUNC_skb_vlan_push), 212 + BPF_FUNC_skb_vlan_push); 213 213 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3); 214 214 i++; 215 215 } ··· 220 220 i++; 221 221 insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_6); 222 222 insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0, 223 - BPF_FUNC_skb_vlan_pop), 223 + BPF_FUNC_skb_vlan_pop); 224 224 insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3); 225 225 i++; 226 226 }