xfs
[Top] [All Lists]

TAKE fix rtx warning msg

To: xfs-bugs-internal@xxxxxxx, xfs@xxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx
Subject: TAKE fix rtx warning msg
From: tes@xxxxxxx (Tim Shimmin)
Date: Thu, 28 Jun 2007 14:28:53 +1000 (EST)
Sender: xfs-bounce@xxxxxxxxxxx
Appease gcc in regards to "warning: 'rtx' is used uninitialized in this 
function".
Use the uninitialized_var() macro in xfs_bmap_rtalloc for this.

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Patch provided by Andrew Morton.

--Tim

Date:  Thu Jun 28 14:25:55 AEST 2007
Workarea:  chook.melbourne.sgi.com:/build/tes/2.6.x-xfs
Inspected by:  akpm@xxxxxxxxxxxxxxxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:29007a
fs/xfs/xfs_bmap.c - 1.370 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_bmap.c.diff?r1=text&tr1=1.370&r2=text&tr2=1.369&f=h
        - Appease gcc in regards to "warning: 'rtx' is used uninitialized in 
this function".
          Use the uninitialized_var() macro in xfs_bmap_rtalloc for this.
          Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE fix rtx warning msg, Tim Shimmin <=