linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the xfs tree
@ 2010-03-04  0:19 Stephen Rothwell
  2010-03-04  0:57 ` [PATCH] " Dave Chinner
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2010-03-04  0:19 UTC (permalink / raw)
  To: Dave Chinner, xfs-masters; +Cc: linux-next, linux-kernel

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

Hi Dave,

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

fs/xfs/linux-2.6/xfs_aops.c: In function 'xfs_end_io':
fs/xfs/linux-2.6/xfs_aops.c:232: warning: 'error' may be used uninitialized in this function

Introduced by commit 77d7a0c2eeb285c9069e15396703d0cb9690ac50 ("xfs:
Non-blocking inode locking in IO completion").

I can't tell if this is a false positive.  If the first two "if"
statement bodies are skipped, then error is tested uninitialised.  It is
possible that at least one of them has to be executed.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

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

end of thread, other threads:[~2010-03-04 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-04  0:19 linux-next: build warning after merge of the xfs tree Stephen Rothwell
2010-03-04  0:57 ` [PATCH] " Dave Chinner
2010-03-04 16:24   ` Alex Elder

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).