Re: [PATCH v3 bpf-next 1/4] bpf: Rename bpf_reg_state variables
From: Andrii Nakryiko <hidden>
Date: 2021-02-12 21:12:44
From: Andrii Nakryiko <hidden>
Date: 2021-02-12 21:12:44
On Fri, Feb 12, 2021 at 12:57 PM Dmitrii Banshchikov [off-list ref] wrote:
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 <redacted> ---
Please carry over Acked-by and Reviewed-by tags next time (unless you made substantial changes to the patch) Acked-by: Andrii Nakryiko <andrii@kernel.org>
kernel/bpf/btf.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
[...]