diff options
author | Dmitrii Banshchikov <me@ubique.spb.ru> | 2021-02-13 00:56:39 +0400 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-02-12 17:37:23 -0800 |
commit | feb4adfad575c1e27cbfaa3462f376c13da36942 (patch) | |
tree | 057f8e43e808828262be7f3eb82039559002317a /kernel/bpf/disasm.h | |
parent | b62eba563229fc7c51af41b55fc67c4778d85bb7 (diff) |
bpf: Rename bpf_reg_state variables
Using "reg" for an array of bpf_reg_state and "reg[i + 1]" for an
individual bpf_reg_state is error-prone and verbose. Use "regs" for the
former and "reg" for the latter as other code nearby does.
Signed-off-by: Dmitrii Banshchikov <me@ubique.spb.ru>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210212205642.620788-2-me@ubique.spb.ru
Diffstat (limited to 'kernel/bpf/disasm.h')
0 files changed, 0 insertions, 0 deletions