2.6.14-rc3-git-current xfs compilation warnings

From: Michal Piotrowski
Date: Tue Oct 04 2005 - 11:04:23 EST


Hi,
I have noticed this warnings while compiling xfs as module.

CC [M] fs/xfs/xfs_acl.o
fs/xfs/xfs_acl.c: In function 'xfs_acl_access':
fs/xfs/xfs_acl.c:445: warning: 'matched.ae_perm' may be used
uninitialized in this function

CC [M] fs/xfs/xfs_alloc_btree.o
fs/xfs/xfs_alloc_btree.c: In function 'xfs_alloc_insrec':
fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_startblock' may be
used uninitialized in this function
fs/xfs/xfs_alloc_btree.c:622: warning: 'nrec.ar_blockcount' may be
used uninitialized in this function

CC [M] fs/xfs/xfs_dir2_sf.o
fs/xfs/xfs_dir2_sf.c: In function 'xfs_dir2_block_sfsize':
fs/xfs/xfs_dir2_sf.c:110: warning: 'parent' may be used uninitialized
in this function
CC [M] fs/xfs/xfs_dir_leaf.o
fs/xfs/xfs_dir_leaf.c: In function 'xfs_dir_leaf_to_shortform':
fs/xfs/xfs_dir_leaf.c:653: warning: 'parent' may be used uninitialized
in this function

CC [M] fs/xfs/xfs_ialloc_btree.o
fs/xfs/xfs_ialloc_btree.c: In function 'xfs_inobt_insrec':
fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_free' is used
uninitialized in this function
fs/xfs/xfs_ialloc_btree.c:750: warning: 'nrec.ir_freecount' is used
uninitialized in this function
fs/xfs/xfs_ialloc_btree.c:567: warning: 'nrec.ir_startino' may be used
uninitialized in this function

michal@debian:/usr/src/linux-git$ gcc --version
gcc (GCC) 4.0.2 (Debian 4.0.2-2)

Regards,
Michal Piotrowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/