Thread (5 messages) flat view 5 messages, 4 authors, 2011-03-18

Re: linux-next: build warning in Linus' tree

From: David Miller <davem@davemloft.net>
Date: 2011-03-18 01:13:00
Also in: linux-rdma, lkml

From: Stephen Rothwell <redacted>
Date: Fri, 18 Mar 2011 10:04:18 +1100
Hi all,

After merging the Linus' tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/infiniband/core/addr.c: In function 'addr4_resolve':
drivers/infiniband/core/addr.c:188: warning: 'ret' may be used uninitialized in this function

I didn't notice this one before, sorry.

I don't know what introduced it, but the third if statement in the
function will make us use "ret" uninitialised.
It was the ipv4 route lookup interface changes.

Roland has received a fix already, and will merge it via the infiniband
tree.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help