[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <s5hejawqawn.wl%tiwai@suse.de>
Date: Fri, 29 Feb 2008 12:06:48 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] sound: patch_sigmatel.c fix shadowed variable warning
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 <harvey.harrison@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists