bpf: Fix string kfuncs names in doc comments
authorViktor Malik <vmalik@redhat.com>
Fri, 27 Jun 2025 08:20:01 +0000 (10:20 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 27 Jun 2025 15:48:06 +0000 (08:48 -0700)
commit5272b51367ea001c56a4be32342d1da1a3206fcb
tree07763647158cef3c11bfd91c1c0a5ddda07b5fbb
parent48d998af99f9e78ac8a8e405c50a7af64a5325a6
bpf: Fix string kfuncs names in doc comments

Documentation comments for bpf_strnlen and bpf_strcspn contained
incorrect function names.

Fixes: e91370550f1f ("bpf: Add kfuncs for read-only string operations")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/bpf/20250627174759.3a435f86@canb.auug.org.au/T/#u
Signed-off-by: Viktor Malik <vmalik@redhat.com>
Link: https://lore.kernel.org/r/20250627082001.237606-1-vmalik@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/helpers.c