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

From: Stephen Rothwell
Date: Sun Mar 29 2020 - 20:26:26 EST


Hi all,

After merging the netfilter-next tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

In file included from net/netfilter/ipvs/ip_vs_core.c:52:
net/netfilter/ipvs/ip_vs_core.c: In function 'ip_vs_in_icmp':
include/net/ip_vs.h:233:4: warning: 'outer_proto' may be used uninitialized in this function [-Wmaybe-uninitialized]
233 | printk(KERN_DEBUG pr_fmt(msg), ##__VA_ARGS__); \
| ^~~~~~
net/netfilter/ipvs/ip_vs_core.c:1666:8: note: 'outer_proto' was declared here
1666 | char *outer_proto;
| ^~~~~~~~~~~

Introduced by commit

73348fed35d0 ("ipvs: optimize tunnel dumps for icmp errors")

--
Cheers,
Stephen Rothwell

Attachment: pgpW7CtV_V2c1.pgp
Description: OpenPGP digital signature