Re: linux-next: build warning after merge of the bpf-next tree
From: Viktor Malik
Date: Fri Jun 27 2025 - 04:22:22 EST
On 6/27/25 09:47, Stephen Rothwell wrote:
> Hi all,
>
> After merging the bpf-next tree, today's linux-next build (htmldocs)
> produced this warning:
>
> kernel/bpf/helpers.c:3465: warning: expecting prototype for bpf_strlen(). Prototype was for bpf_strnlen() instead
> kernel/bpf/helpers.c:3557: warning: expecting prototype for strcspn(). Prototype was for bpf_strcspn() instead
>
> Introduced by commit
>
> e91370550f1f ("bpf: Add kfuncs for read-only string operations")
Oh, good catch, thanks for the report.
Just sent a fix to bpf-next [1].
Viktor
[1]
https://lore.kernel.org/bpf/20250627082001.237606-1-vmalik@xxxxxxxxxx/T/#u