* [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst
@ 2026-09-05 9:55 Karl Mehltretter
2026-09-06 20:01 ` Randy Dunlap
2026-09-06 22:34 ` Karl Mehltretter
0 siblings, 2 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-05 9:55 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,
David Vernet
struct bpf_cpmuask does not exist; the name is struct bpf_cpumask.
Use it.
Fixes: 027bdec89364 ("bpf/docs: Document the nocast aliasing behavior of ___init")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
Documentation/bpf/kfuncs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/bpf/kfuncs.rst b/Documentation/bpf/kfuncs.rst
index 85f73e0bbd0f..57831eda0a33 100644
--- a/Documentation/bpf/kfuncs.rst
+++ b/Documentation/bpf/kfuncs.rst
@@ -536,7 +536,7 @@ For example, for the following type definition:
The verifier would allow a ``struct bpf_cpumask *`` to be passed to a kfunc
taking a ``cpumask_t *`` (which is a typedef of ``struct cpumask *``). For
-instance, both ``struct cpumask *`` and ``struct bpf_cpmuask *`` can be passed
+instance, both ``struct cpumask *`` and ``struct bpf_cpumask *`` can be passed
to bpf_cpumask_test_cpu().
In some cases, this type-aliasing behavior is not desired. ``struct
--
2.53.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst
2026-09-05 9:55 [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst Karl Mehltretter
@ 2026-09-06 20:01 ` Randy Dunlap
2026-09-06 22:34 ` Karl Mehltretter
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2026-09-06 20:01 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, David Vernet
On 9/5/26 2:55 AM, Karl Mehltretter wrote:
> struct bpf_cpmuask does not exist; the name is struct bpf_cpumask.
>
> Use it.
>
> Fixes: 027bdec89364 ("bpf/docs: Document the nocast aliasing behavior of ___init")
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> Documentation/bpf/kfuncs.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/bpf/kfuncs.rst b/Documentation/bpf/kfuncs.rst
> index 85f73e0bbd0f..57831eda0a33 100644
> --- a/Documentation/bpf/kfuncs.rst
> +++ b/Documentation/bpf/kfuncs.rst
> @@ -536,7 +536,7 @@ For example, for the following type definition:
>
> The verifier would allow a ``struct bpf_cpumask *`` to be passed to a kfunc
> taking a ``cpumask_t *`` (which is a typedef of ``struct cpumask *``). For
> -instance, both ``struct cpumask *`` and ``struct bpf_cpmuask *`` can be passed
> +instance, both ``struct cpumask *`` and ``struct bpf_cpumask *`` can be passed
> to bpf_cpumask_test_cpu().
>
> In some cases, this type-aliasing behavior is not desired. ``struct
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst
2026-09-05 9:55 [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst Karl Mehltretter
2026-09-06 20:01 ` Randy Dunlap
@ 2026-09-06 22:34 ` Karl Mehltretter
1 sibling, 0 replies; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-06 22:34 UTC (permalink / raw)
To: Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko
Cc: Karl Mehltretter, bpf, Randy Dunlap
Superseded by the combined v2 with the btf_var patch:
https://lore.kernel.org/r/20260906222656.3459-1-kmehltretter@gmail.com/
Thanks,
Karl
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-06 22:34 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:55 [PATCH bpf-next] bpf, docs: Fix the struct bpf_cpumask name in kfuncs.rst Karl Mehltretter
2026-09-06 20:01 ` Randy Dunlap
2026-09-06 22:34 ` Karl Mehltretter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox