Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Jun 13, 2024

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

Hi all,

After merging the bpf-next tree, today's linux-next build (htmldocs) produced these warnings:

kernel/bpf/helpers.c:2464: warning: Excess function parameter 'ptr' description in 'bpf_dynptr_slice' kernel/bpf/helpers.c:2549: warning: Excess function parameter 'ptr' description in 'bpf_dynptr_slice_rdwr'

Introduced by commit

cce4c40b9606 ("bpf: treewide: Align kfunc signatures to prog point-of-view")

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

Hi Stephen,

Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the bpf-next tree, today's linux-next build (htmldocs) produced these warnings:

Quoted 10 lines

kernel/bpf/helpers.c:2464: warning: Excess function parameter 'ptr' description in 'bpf_dynptr_slice' kernel/bpf/helpers.c:2549: warning: Excess function parameter 'ptr' description in 'bpf_dynptr_slice_rdwr'

Introduced by commit

cce4c40b9606 ("bpf: treewide: Align kfunc signatures to prog point-of-view")

Signature · 2 lines
Cheers,
Stephen Rothwell

Thanks for reporting. I'll send a fix today.

Daniel