From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757898AbZCBJI2 (ORCPT ); Mon, 2 Mar 2009 04:08:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753549AbZCBJIP (ORCPT ); Mon, 2 Mar 2009 04:08:15 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:50354 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753459AbZCBJIO (ORCPT ); Mon, 2 Mar 2009 04:08:14 -0500 Date: Mon, 2 Mar 2009 10:07:58 +0100 From: Ingo Molnar To: Tejun Heo Cc: x86@kernel.org, Johannes Weiner , Linux Kernel , Thomas Gleixner , Rusty Russell , "H. Peter Anvin" Subject: Re: [PATCH tj-percpu 1/3] percpu: kill compile warning in pcpu_populate_chunk() Message-ID: <20090302090758.GC10783@elte.hu> References: <49AA357C.3070006@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49AA357C.3070006@kernel.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-VirusStatus: clean X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.3 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Tejun Heo wrote: > Impact: remove compile warning > > Mark local variable map_end in pcpu_populate_chunk() with > uninitialized_var(). The variable is always used in tandem with > map_start and guaranteed to be initialized before use but gcc doesn't > understand that. > > Signed-off-by: Tejun Heo > Reported-by: Ingo Molnar > --- > This the first of three misc fix patches for #tj-percpu. Patches are > also available in the tj-percpu git tree. > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git tj-percpu Pulled, thanks Tejun. Ingo