diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-09 11:44:30 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-12 21:24:07 +0200 |
commit | dd0d9a46f573b086a67522f819566427dba9c4c7 (patch) | |
tree | 3923d284b277bea1c3092e329da44a5a80b6512d /kernel | |
parent | headers: smp_lock.h redux (diff) | |
download | linux-dd0d9a46f573b086a67522f819566427dba9c4c7.tar.xz linux-dd0d9a46f573b086a67522f819566427dba9c4c7.zip |
AFS: Fix compilation warning
Fix the following warning:
fs/afs/dir.c: In function 'afs_d_revalidate':
fs/afs/dir.c:567: warning: 'fid.vnode' may be used uninitialized in this function
fs/afs/dir.c:567: warning: 'fid.unique' may be used uninitialized in this function
by marking the 'fid' variable as an uninitialized_var. The problem is
that gcc doesn't always manage to work out that fid is always set on the
path through the function that uses it.
Cc: linux-afs@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions