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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org