Thread (2 messages) 2 messages, 2 authors, 2025-06-27

Re: linux-next: build warning after merge of the bpf-next tree

From: Viktor Malik <hidden>
Date: 2025-06-27 08:22:08
Also in: bpf, linux-next, lkml

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@redhat.com/T/#u (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help