On Wed, Nov 15, 2023 at 9:18 PM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > > Split check_reg_arg() into two utility functions: > - check_reg_arg() operating on registers from current verifier state; > - __check_reg_arg() operating on a specific set of registers passed as > a parameter; > > The __check_reg_arg() function would be used by a follow-up change for > callbacks handling. > > Signed-off-by: Eduard Zingerman <eddyz87@xxxxxxxxx> > --- > kernel/bpf/verifier.c | 19 +++++++++++++------ > 1 file changed, 13 insertions(+), 6 deletions(-) > Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> [...]