Re: [PATCH 2.6.2-rc1-mm3] fs/xfs/xfs_log_recover.c

From: Nathan Scott
Date: Mon Jan 26 2004 - 19:23:14 EST


On Tue, Jan 27, 2004 at 10:41:59AM +1100, Nathan Scott wrote:
> On Sat, Jan 24, 2004 at 08:48:59PM -0800, Bryan Whitehead wrote:
> > On compile I get this:
> >
> > fs/xfs/xfs_log_recover.c: In function `xlog_recover_reorder_trans':
> > fs/xfs/xfs_log_recover.c:1534: warning: `flags' might be used uninitialized in this function
> >
> > I previously sent this patch and it was wrong.
>
> What compiler version are you using? Is this a recent gcc or an

Sorry, I'm still half a sleep -- I see this too with the recent
fix in this routine, looks like many current gcc versions report
it. I guess initialising flags to zero will be the simplest way
to workaround it.

thanks.

--
Nathan
-
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/