Re: [PATCH] Fix compilation warning for fs/ocfs2/xattr.c

From: Joel Becker
Date: Mon Jul 20 2009 - 20:30:11 EST


On Tue, Jul 14, 2009 at 01:19:31AM +0530, Subrata Modak wrote:
> gcc 4.4.1 generates the following build warning on i386:
>
> CC [M] fs/ocfs2/xattr.o
> fs/ocfs2/xattr.c: In function âocfs2_xattr_block_getâ:
> fs/ocfs2/xattr.c:1055: warning: âblock_offâ may be used uninitialized in this function
>
> The following fix is based on a similar approach by David Howells
> few days back: http://lkml.org/lkml/2009/7/9/109,
>
> Signed-off-by: Subrata Modak<subrata@xxxxxxxxxxxxxxxxxx>,

This is now in the fixes branch of ocfs2.git.

Joel

--

Life's Little Instruction Book #15

"Own a great stereo system."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
--
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/