Commit 15080908 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Alexei Starovoitov
Browse files

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: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Link: https://lore.kernel.org/r/1675319486-27744-3-git-send-email-yangtiezhu@loongson.cn


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent e2bd9742
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ static void bpf_fill_ld_abs_vlan_push_pop(struct bpf_test *self)
		insn[i++] = BPF_MOV64_IMM(BPF_REG_2, 1);
		insn[i++] = BPF_MOV64_IMM(BPF_REG_3, 2);
		insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0,
					 BPF_FUNC_skb_vlan_push),
					 BPF_FUNC_skb_vlan_push);
		insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3);
		i++;
	}
@@ -220,7 +220,7 @@ static void bpf_fill_ld_abs_vlan_push_pop(struct bpf_test *self)
		i++;
		insn[i++] = BPF_MOV64_REG(BPF_REG_1, BPF_REG_6);
		insn[i++] = BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 0, 0,
					 BPF_FUNC_skb_vlan_pop),
					 BPF_FUNC_skb_vlan_pop);
		insn[i] = BPF_JMP_IMM(BPF_JNE, BPF_REG_0, 0, len - i - 3);
		i++;
	}