bpf, arm32: fix inconsistent naming about emit_a32_lsr_{r64,i64}
authorWang YanQing <udknight@gmail.com>
Fri, 11 May 2018 02:52:17 +0000 (10:52 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Jun 2018 08:54:53 +0000 (10:54 +0200)
commit68565a1af9f7012e6f2fe2bdd612f67d2d830c28
tree536f2ee53a581e24832a250ea100c4a09635f283
parent2b589a7e2bd3eb610a4b7f5e61393481755a4de9
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: 39c13c204bb1 ("arm: eBPF JIT compiler")
Signed-off-by: Wang 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: Daniel Borkmann <daniel@iogearbox.net>
arch/arm/net/bpf_jit_32.c