kernel test robot <lkp(a)intel.com> wrote:
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 671176b0016c80b3943cb5387312c886aba3308d
commit: 83ace77f51175023c3757e2d08a92565f9b1c7f3 [5178/10581] netfilter: ctnetlink:
remove get_ct indirection
>> net/netfilter/nfnetlink_queue.c:601:36: warning: variable
'ctinfo' is uninitialized when used here [-Wuninitialized]
if (ct && nfnl_ct->build(skb, ct, ctinfo, NFQA_CT, NFQA_CT_INFO)
< 0)
^~~~~~
net/netfilter/nfnetlink_queue.c:391:2: note: variable 'ctinfo' is declared
here
Looks like a false positive.
ctinfo is uninitialized only if ct == NULL.
The config even has "CONFIG_NF_CONNTRACK is no set"
so ct is always NULL.
Could be "fixed" by adding aother ifdef but it would
add even more clutter to an huge function.