linux-next: build warning after merge of the net-next tree
Subsystems (3)
Hi all,
After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
kernel/bpf/bpf_lru_list.c: In function '__bpf_lru_list_rotate_inactive.isra.3':kernel/bpf/bpf_lru_list.c:201:28: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]
l->next_inactive_rotation = next;
^Introduced by commit
3a08c2fd7634 ("bpf: LRU List")
I can't tell if this is a false positive or not.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the net-next tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
kernel/bpf/bpf_lru_list.c: In function '__bpf_lru_list_rotate_inactive.isra.3':kernel/bpf/bpf_lru_list.c:201:28: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized]
Quoted 8 lines
l->next_inactive_rotation = next; ^Introduced by commit
3a08c2fd7634("bpf: LRU List")I can't tell if this is a false positive or not.
A false positive.
A patch has been posted: https://patchwork.ozlabs.org/patch/695202/
Thanks for the report.
--Martin