BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst
@ 2026-09-05  9:56 Karl Mehltretter
  2026-09-06 20:04 ` Randy Dunlap
  2026-09-06 21:00 ` Alexei Starovoitov
  0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-05  9:56 UTC (permalink / raw)
  To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
  Cc: Karl Mehltretter, Eduard Zingerman, Kumar Kartikeya Dwivedi,
	Martin KaFai Lau, Song Liu, Yonghong Song, Jiri Olsa, bpf,
	Jonathan Corbet, linux-doc, Shuah Khan, Randy Dunlap

struct btf_variable does not exist; the name is struct btf_var.

Use it.

Fixes: f063c889c945 ("bpf: add specification for BTF Var and DataSec kinds")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 Documentation/bpf/btf.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
index 3f05f17990ad..004aa1058d85 100644
--- a/Documentation/bpf/btf.rst
+++ b/Documentation/bpf/btf.rst
@@ -416,7 +416,7 @@ If the function has variable arguments, the last parameter is encoded with
   * ``info.vlen``: 0
   * ``type``: the type of the variable
 
-``btf_type`` is followed by a single ``struct btf_variable`` with the
+``btf_type`` is followed by a single ``struct btf_var`` with the
 following data::
 
     struct btf_var {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst
  2026-09-05  9:56 [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst Karl Mehltretter
@ 2026-09-06 20:04 ` Randy Dunlap
  2026-09-06 21:00 ` Alexei Starovoitov
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-06 20:04 UTC (permalink / raw)
  To: Karl Mehltretter, Alexei Starovoitov, Daniel Borkmann,
	Andrii Nakryiko
  Cc: Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
	Song Liu, Yonghong Song, Jiri Olsa, bpf, Jonathan Corbet,
	linux-doc, Shuah Khan



On 9/5/26 2:56 AM, Karl Mehltretter wrote:
> struct btf_variable does not exist; the name is struct btf_var.
> 
> Use it.
> 
> Fixes: f063c889c945 ("bpf: add specification for BTF Var and DataSec kinds")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  Documentation/bpf/btf.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/bpf/btf.rst b/Documentation/bpf/btf.rst
> index 3f05f17990ad..004aa1058d85 100644
> --- a/Documentation/bpf/btf.rst
> +++ b/Documentation/bpf/btf.rst
> @@ -416,7 +416,7 @@ If the function has variable arguments, the last parameter is encoded with
>    * ``info.vlen``: 0
>    * ``type``: the type of the variable
>  
> -``btf_type`` is followed by a single ``struct btf_variable`` with the
> +``btf_type`` is followed by a single ``struct btf_var`` with the
>  following data::
>  
>      struct btf_var {

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst
  2026-09-05  9:56 [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst Karl Mehltretter
  2026-09-06 20:04 ` Randy Dunlap
@ 2026-09-06 21:00 ` Alexei Starovoitov
  1 sibling, 0 replies; 3+ messages in thread
From: Alexei Starovoitov @ 2026-09-06 21:00 UTC (permalink / raw)
  To: Karl Mehltretter
  Cc: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Eduard Zingerman, Kumar Kartikeya Dwivedi, Martin KaFai Lau,
	Song Liu, Yonghong Song, Jiri Olsa, bpf, Jonathan Corbet,
	open list:DOCUMENTATION, Shuah Khan, Randy Dunlap

On Sat, Sep 5, 2026 at 2:57 AM Karl Mehltretter <kmehltretter@gmail.com> wrote:
>
> struct btf_variable does not exist; the name is struct btf_var.
>
> Use it.
>
> Fixes: f063c889c945 ("bpf: add specification for BTF Var and DataSec kinds")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Pls combine all typo fixes in one patch.

pw-bot: cr

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-06 21:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05  9:56 [PATCH bpf-next] bpf, docs: Fix the struct btf_var name in btf.rst Karl Mehltretter
2026-09-06 20:04 ` Randy Dunlap
2026-09-06 21:00 ` Alexei Starovoitov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox