bpf, docs: Fix the struct btf_var name in btf.rst
Subsystems (2)
PATCH 1/1 bpf, docs: Fix the struct btf_var name in btf.rst
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 <[email protected]>
--- Documentation/bpf/btf.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/bpf/btf.rst +1 -1
@@ -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 {
Signature · 1 line
2.53.0
Quoted 7 lines · Karl Mehltretter
struct
btf_variabledoes not exist; the name is structbtf_var.Use it.
Fixes f063c889c945 ("bpf: add specification for BTF Var and DataSec kinds")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Reviewed-by Randy Dunlap <[email protected]>
Thanks.
Quoted 17 lines
--- Documentation/bpf/btf.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/bpf/btf.rst +1
-1@@ -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 {
Signature · 1 line
~Randy
Quoted 8 lines · Karl Mehltretter
struct
btf_variabledoes not exist; the name is structbtf_var.Use it.
Fixes f063c889c945 ("bpf: add specification for BTF Var and DataSec kinds")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Pls combine all typo fixes in one patch.
pw-bot: cr