From: Andrew Morton older gcc's are dumb: fs/fs-writeback.c: In function 'writeback_single_inode': fs/fs-writeback.c:334: warning: 'nr_to_write' may be used uninitialized in this function Cc: Chris Mason Cc: Christoph Hellwig Cc: Dave Chinner Cc: Jan Kara Cc: Jens Axboe Cc: KOSAKI Motohiro Cc: Li Shaohua Cc: Mel Gorman Cc: Michael Rubin Cc: Peter Zijlstra Cc: Richard Kennedy Cc: Rik van Riel Cc: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Wu Fengguang LKML-Reference: <201011180023.oAI0NXFl014362@imap1.linux-foundation.org> --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next.orig/fs/fs-writeback.c 2010-12-08 22:44:26.000000000 +0800 +++ linux-next/fs/fs-writeback.c 2010-12-08 22:44:27.000000000 +0800 @@ -331,7 +331,7 @@ writeback_single_inode(struct inode *ino { struct address_space *mapping = inode->i_mapping; long per_file_limit = wbc->per_file_limit; - long nr_to_write; + long uninitialized_var(nr_to_write); unsigned dirty; int ret; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/