Hi there,
--On 20 May 2007 1:14:08 PM +0200 Elimar Riesebieter <riesebie@xxxxxxxx> wrote:
Hi,
FYI, building the kernel with
gcc (GCC) 4.1.3 20070514 (prerelease) (Debian 4.1.2-7)
on my powerbook (PPC) gives:
...
fs/xfs/xfs_bmap.c: In function 'xfs_bmap_rtalloc':
fs/xfs/xfs_bmap.c:2650: warning: 'rtx' is used uninitialized in this function
fs/xfs/linux-2.6/xfs_lrw.c: In function 'xfs_iozero':
fs/xfs/linux-2.6/xfs_lrw.c:162: warning: 'memclear_highpage_flush' is
deprecated (declared at
include/linux/highmem.h:115) ...
The memclear deprecated warning is well known and the 1 line fix of calling
zero_user_page() will be updated shortly
(after I update our sgi 2.6.x-xfs tree to latest mainline and then push our
xfs-linux tree to git).
The rtx one is not really a problem. rtx is initialised by being passed to a
function
and only is uninitialised in the error case where it is then not referenced.
However, we can init it on definition to shut the warning up.
Thanks,
Tim.
|