Re: 2.6.13-rc6-mm2 - fs/xfs/xfs*.c warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i'm compiling 2.6.13-rc6-mm2 atm and noticed that xfs is having lots of 
warnings while compiling. recently i switched to gcc 4.0.1 - maybe it's 
because of this.

details:

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

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

fs/xfs/xfs_bmap.c: In function 'xfs_bmap_alloc':
fs/xfs/xfs_bmap.c:2335: warning: 'rtx' is used uninitialized in this 
function

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

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

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

and the following warning appears a lot of times:

fs/xfs/xfs_bmap_btree.h:508:21: warning: "__BIG_ENDIAN" is not defined
fs/xfs/xfs_bmap_btree.h:626:21: warning: "__BIG_ENDIAN" is not defined

just giving a heads-up if somebody wants to clean this code. 

thanx + greetings,
Damir

Le Tuesday 23 August 2005 06:30, Andrew Morton a écrit :
| ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.13-rc
|6/2.6.13-rc6-mm2/
|
| - Various updates.  Nothing terribly noteworthy.
|
| - This kernel still spits a bunch of scheduling-while-atomic warnings
| from the scsi code.  Please ignore.
|

-- 
It is impossible for an optimist to be pleasantly surprised.

Attachment: pgpPkXgDK2ivj.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux