linux-next: build warning after merge of the net tree
From: Stephen Rothwell <hidden>
Date: 2011-05-13 01:41:49
Also in:
linux-next, lkml
Attachments
- (unnamed) [application/pgp-signature] 490 bytes
From: Stephen Rothwell <hidden>
Date: 2011-05-13 01:41:49
Also in:
linux-next, lkml
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
net/ipv4/ip_forward.c: In function 'ip_forward':
net/ipv4/ip_forward.c:87: warning: 'iph' may be used uninitialized in this function
Introduced by commit def57687e957 ("ipv4: Elide use of rt->rt_dst in
ip_forward()"). It may be a false positive, but it is not obvious how
iph is assigned before being used.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/