mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.14-rc3-git-current xfs compilation warnings
@ 2005-10-04 16:03 Michal Piotrowski
  2005-10-04 20:09 ` Nathan Scott
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Piotrowski @ 2005-10-04 16:03 UTC (permalink / raw)
  To: LKML

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

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

* Re: 2.6.14-rc3-git-current xfs compilation warnings
  2005-10-04 16:03 2.6.14-rc3-git-current xfs compilation warnings Michal Piotrowski
@ 2005-10-04 20:09 ` Nathan Scott
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Scott @ 2005-10-04 20:09 UTC (permalink / raw)
  To: Michal Piotrowski; +Cc: LKML

On Tue, Oct 04, 2005 at 04:03:32PM +0000, Michal Piotrowski wrote:
> 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

These gcc v4 warnings are fixed in the current XFS devlopment
tree on oss.sgi.com - these will get merged at an appropriate
time.

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

cheers.

-- 
Nathan

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

end of thread, other threads:[~2005-10-04 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-04 16:03 2.6.14-rc3-git-current xfs compilation warnings Michal Piotrowski
2005-10-04 20:09 ` Nathan Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome