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

From: Stephen Rothwell
Date: Thu May 12 2011 - 21:42:40 EST


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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature