Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jun 27, 2025

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 11 lines · Stephen Rothwell

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/[email protected]/T/#u