From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758160Ab0EFNYr (ORCPT ); Thu, 6 May 2010 09:24:47 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:62920 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751541Ab0EFNYp (ORCPT ); Thu, 6 May 2010 09:24:45 -0400 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 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 Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.