@@ -1740,7 +1740,7 @@ static int __bpf_emit_cmpxchg32(struct bpf_test *self, void *arg,
1740
1740
/* Result unsuccessful */
1741
1741
insns [i ++ ] = BPF_STX_MEM (BPF_W , R10 , R1 , -4 );
1742
1742
insns [i ++ ] = BPF_ATOMIC_OP (BPF_W , BPF_CMPXCHG , R10 , R2 , -4 );
1743
- insns [i ++ ] = BPF_ZEXT_REG (R0 ), /* Zext always inserted by verifier */
1743
+ insns [i ++ ] = BPF_ZEXT_REG (R0 ); /* Zext always inserted by verifier */
1744
1744
insns [i ++ ] = BPF_LDX_MEM (BPF_W , R3 , R10 , -4 );
1745
1745
1746
1746
insns [i ++ ] = BPF_JMP32_REG (BPF_JEQ , R1 , R3 , 2 );
@@ -1754,7 +1754,7 @@ static int __bpf_emit_cmpxchg32(struct bpf_test *self, void *arg,
1754
1754
/* Result successful */
1755
1755
i += __bpf_ld_imm64 (& insns [i ], R0 , dst );
1756
1756
insns [i ++ ] = BPF_ATOMIC_OP (BPF_W , BPF_CMPXCHG , R10 , R2 , -4 );
1757
- insns [i ++ ] = BPF_ZEXT_REG (R0 ), /* Zext always inserted by verifier */
1757
+ insns [i ++ ] = BPF_ZEXT_REG (R0 ); /* Zext always inserted by verifier */
1758
1758
insns [i ++ ] = BPF_LDX_MEM (BPF_W , R3 , R10 , -4 );
1759
1759
1760
1760
insns [i ++ ] = BPF_JMP32_REG (BPF_JEQ , R2 , R3 , 2 );
0 commit comments