]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18b5f909827049185d1082081b732e27321d704b
tree536f2ee53a581e24832a250ea100c4a09635f283
parentf716beaf01e2c6c0fb2dc1863e032c1334c4da51
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: d3c26ea1e931 ("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