Skip to content
Commit 68565a1a authored by Wang YanQing's avatar Wang YanQing Committed by Daniel Borkmann
Browse files

bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}



The names for BPF_ALU64 | BPF_ARSH are emit_a32_arsh_*,
the names for BPF_ALU64 | BPF_LSH are emit_a32_lsh_*, but
the names for BPF_ALU64 | BPF_RSH are emit_a32_lsr_*.

For consistence reason, let's rename emit_a32_lsr_* to
emit_a32_rsh_*.

This patch also corrects a wrong comment.

Fixes: 39c13c20 ("arm: eBPF JIT compiler")
Signed-off-by: default avatarWang YanQing <udknight@gmail.com>
Cc: Shubham Bansal <illusionist.neo@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@armlinux.org.uk
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 2b589a7e
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