On Tue, Feb 23, 2016 at 10:06:59AM +0800, Qu Wenruo wrote: > > I'm not sure why, but my gcc 5.3.1 think's that a member of failrec can > > be used uninitialized: > > > > CC [M] fs/btrfs/extent_io.o > > fs/btrfs/extent_io.c: In function ‘clean_io_failure’: > > fs/btrfs/extent_io.c:2133:4: warning: ‘failrec’ may be used uninitialized in this function [-Wmaybe-uninitialized] > > repair_io_failure(inode, start, failrec->len, > > ^ > > > After applying your patch on integration-4.6, and compiling, my gcc > 5.3.0 didn't give such warning though. > > And I didn't see an official 5.3.1, but only 5.3 so I assume maybe it's > related to the .1 from your distribution? Yes it's distro gcc 5.3 + patches. Arnd sent a patch to fix the warning. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
