Re: [PATCH bpf-next v1 05/14] bpf: Use canonical stack argument names in diagnostics

Eduard Zingerman <[email protected]>
Newsgroups org.kernel.vger.bpf
Message-ID <[email protected]>
On Sun, 2026-08-16 at 03:57 +0200, Kumar Kartikeya Dwivedi wrote:
> The main diagnostic identifies the first outgoing stack slot as stack
> argument 1 and the sixth function argument. The causal history instead
> labels the same value as stack arg6, making it look like a different slot.
> 
> Render causal-history targets in the verifier's canonical stack-argument
> location form. The first outgoing slot is now shown as *(R11-8), matching
> reg_arg_name(), while the main diagnostic retains its fuller slot and
> ordinal description.
> 
> Link: https://lore.kernel.org/bpf/[email protected]/
> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
> ---

Acked-by: Eduard Zingerman <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.