linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning in Linus' tree
@ 2011-03-17 23:04 Stephen Rothwell
  2011-03-17 23:35 ` [PATCH] rdma/addr: Initialize ret to fix build warning Hefty, Sean
  2011-03-18  1:13 ` linux-next: build warning in Linus' tree David Miller
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Rothwell @ 2011-03-17 23:04 UTC (permalink / raw)
  To: Roland Dreier
  Cc: linux-next, linux-kernel, David S. Miller, Hal Rosenstock,
	Eric Dumazet, Tejun Heo, Changli Gao, linux-rdma

[-- Attachment #1: Type: text/plain, Size: 545 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-18  1:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 23:04 linux-next: build warning in Linus' tree Stephen Rothwell
2011-03-17 23:35 ` [PATCH] rdma/addr: Initialize ret to fix build warning Hefty, Sean
     [not found]   ` <CF9C39F99A89134C9CF9C4CCB68B8DDF25CCC10249-osO9UTpF0USkrb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2011-03-17 23:56     ` Roland Dreier
     [not found]       ` <AANLkTikB=ZQQG18sDbD2kfFMWdVuUqnzYWOf7KtuBKVc-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-03-18  1:12         ` David Miller
2011-03-18  1:13 ` linux-next: build warning in Linus' tree David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).