Re: [PATCH bpf-next v6 04/17] bpf: Prepare verifier logs for upcoming kfunc stack arguments

Alexei Starovoitov
2026-04-21T15:46:14Z

On Tue Apr 21, 2026 at 8:41 AM PDT, Yonghong Song wrote:
>>
>> it does:
>>
>> +static u32 make_argno(u32 arg_idx)
>> +{
>> + if (arg_idx < MAX_BPF_FUNC_REG_ARGS)
>> + return BPF_REG_1 + arg_idx;
>>
>> so for argno == 0 it returns 1 and that's my objection.
>> Make argno starting at 1.
>
> Okay. Will do.

To move things forward please resend the first 6 patches only.
So we can make sure that they're in a good shape and land them first.