From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with SMTP id AE83D6B0277 for ; Thu, 6 May 2010 09:24:45 -0400 (EDT) Received: by bwz4 with SMTP id 4so1232205bwz.6 for ; Thu, 06 May 2010 06:24:43 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20100420155122.6f2c26eb.akpm@linux-foundation.org> <20100420230719.GB1432@n2100.arm.linux.org.uk> <4BE14335.10702@ru.mvista.com> From: Marcelo Jimenez Date: Thu, 6 May 2010 10:24:23 -0300 Message-ID: Subject: Re: Suspicious compilation warning Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Kyungmin Park Cc: Sergei Shtylyov , Russell King - ARM Linux , Stephen Rothwell , Christoph Lameter , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Minchan Kim , KOSAKI Motohiro , "H. Peter Anvin" , Andrew Morton , Yinghai Lu , linux-arm-kernel@lists.infradead.org List-ID: Hi Kyungmin, On Wed, May 5, 2010 at 22:24, Kyungmin Park wrote: > > Hi, > > It tested with my board and working. > Just curious. If NR_SECTION_ROOTS is zero and uninitialized then > what's problem? Since we boot and working without patch. The original compiler error message was: mm/sparse.c: In function '__section_nr': mm/sparse.c:135: warning: 'root' is used uninitialized in this function Leaving a variable to be used uninitialized is the issue here. > Thank you, > Kyungmin Park Regards, Marcelo. -- 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/ . Don't email: email@kvack.org