Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759621AbYB2LG6 (ORCPT ); Fri, 29 Feb 2008 06:06:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756115AbYB2LGu (ORCPT ); Fri, 29 Feb 2008 06:06:50 -0500 Received: from mail.suse.de ([195.135.220.2]:48038 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755982AbYB2LGu (ORCPT ); Fri, 29 Feb 2008 06:06:50 -0500 Date: Fri, 29 Feb 2008 12:06:48 +0100 Message-ID: From: Takashi Iwai To: Harvey Harrison Cc: LKML Subject: Re: [PATCH 2/3] sound: patch_sigmatel.c fix shadowed variable warning In-Reply-To: <1204244290.20280.102.camel@brick> References: <1204244290.20280.102.camel@brick> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (+CVS-20070806) (i386-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 22 At Thu, 28 Feb 2008 16:18:10 -0800, Harvey Harrison wrote: > > Temp variable in the loop shadows the second argument (which is otherwise > unused in this function). Change this to defcfg as it is used to hold > the default config. > sound/pci/hda/patch_sigmatel.c:2759:18: warning: symbol 'cfg' shadows an earlier one > sound/pci/hda/patch_sigmatel.c:2734:26: originally declared here > > Signed-off-by: Harvey Harrison Thanks, applied to ALSA tree. (Oh it's using long instead of int - although it's harmless, I'll fix soon...) Takashi -- 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/